File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ function ecdsaVerifyFN(hash) {
227
227
}
228
228
return {
229
229
data : pdata ,
230
- mac,
230
+ mac : mac ,
231
231
valid : true
232
232
} ;
233
233
} ) ;
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ function rsaesEncryptFn(name) {
91
91
key = rsaUtil . convertToPem ( key , true ) ;
92
92
93
93
var cdata = helpers . nodeCrypto . publicEncrypt ( {
94
- key,
94
+ key : key ,
95
95
padding : helpers . nodeCrypto . constants [ nodeSupport [ name ] ]
96
96
} , pdata ) ;
97
97
@@ -168,7 +168,7 @@ function rsaesDecryptFn(name) {
168
168
nodejs = function ( key , pdata ) {
169
169
key = rsaUtil . convertToPem ( key , false ) ;
170
170
return helpers . nodeCrypto . privateDecrypt ( {
171
- key,
171
+ key : key ,
172
172
padding : helpers . nodeCrypto . constants [ nodeSupport [ name ] ]
173
173
} , pdata ) ;
174
174
} ;
You can’t perform that action at this time.
0 commit comments