Skip to content

Commit a42ee03

Browse files
committed
Support AES GCM mode.
1 parent c1fc88a commit a42ee03

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

encrypt.js

+5
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ const method_supported = {
2727
'aes-128-cfb': [16, 16],
2828
'aes-192-cfb': [24, 16],
2929
'aes-256-cfb': [32, 16],
30+
31+
'aes-128-gcm': [16, 16],
32+
'aes-192-gcm': [24, 16],
33+
'aes-256-gcm': [32, 16],
34+
3035
'camellia-128-cfb': [16, 16],
3136
'camellia-192-cfb': [24, 16],
3237
'camellia-256-cfb': [32, 16],

0 commit comments

Comments
 (0)