Skip to content

Commit

Permalink
Support AES GCM mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrluanma committed Mar 7, 2024
1 parent c1fc88a commit a42ee03
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions encrypt.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ const method_supported = {
'aes-128-cfb': [16, 16],
'aes-192-cfb': [24, 16],
'aes-256-cfb': [32, 16],

'aes-128-gcm': [16, 16],
'aes-192-gcm': [24, 16],
'aes-256-gcm': [32, 16],

'camellia-128-cfb': [16, 16],
'camellia-192-cfb': [24, 16],
'camellia-256-cfb': [32, 16],
Expand Down

0 comments on commit a42ee03

Please sign in to comment.