Skip to content

Commit

Permalink
set ContentEncryptionAlgorithm = EncryptionAlgorithmAES128CBC
Browse files Browse the repository at this point in the history
  • Loading branch information
fdurand committed May 6, 2021
1 parent 73d118b commit 2c65a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const (
// ContentEncryptionAlgorithm determines the algorithm used to encrypt the
// plaintext message. Change the value of this variable to change which
// algorithm is used in the Encrypt() function.
var ContentEncryptionAlgorithm = EncryptionAlgorithmDESCBC
var ContentEncryptionAlgorithm = EncryptionAlgorithmAES128CBC

// ErrUnsupportedEncryptionAlgorithm is returned when attempting to encrypt
// content with an unsupported algorithm.
Expand Down

0 comments on commit 2c65a58

Please sign in to comment.