diff --git a/lib/make/crypto.js b/lib/make/crypto.js index 2fe4177..35b1ea3 100644 --- a/lib/make/crypto.js +++ b/lib/make/crypto.js @@ -756,6 +756,9 @@ make.crypto = { generateKey: function () { return this.alg() }, + importKey: function () { + return this.alg() + }, deriveBits: function () { return Object.assign( this.alg(), @@ -787,7 +790,10 @@ make.crypto = { return { } }, - generateKey: () => { + generateKey: function () { + return this.alg() + }, + importKey: function () { return this.alg() }, deriveBits: function () {