Skip to content

Commit 7dab936

Browse files
author
gbhrdt
committed
Change AES_GCM to aes-128-gcm
I am using an browserify version of node's crypto aes encryption, this is the only valid GCM cipher mode.
1 parent 049a96d commit 7dab936

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nodejs/ece.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var base64 = require('urlsafe-base64');
55

66
var savedKeys = {};
77
var keyLabels = {};
8-
var AES_GCM = 'id-aes128-GCM';
8+
var AES_GCM = 'aes-128-gcm';
99
var PAD_SIZE = 2;
1010
var TAG_LENGTH = 16;
1111
var KEY_LENGTH = 16;

0 commit comments

Comments
 (0)