Add two missing importKey methods

This commit is contained in:
Christoph Diehl 2018-01-31 12:08:56 +01:00
parent 96e9210407
commit 6c0c0c0fff
No known key found for this signature in database
GPG key ID: 799CE5B68FEF404A

View file

@ -756,6 +756,9 @@ make.crypto = {
generateKey: function () { generateKey: function () {
return this.alg() return this.alg()
}, },
importKey: function () {
return this.alg()
},
deriveBits: function () { deriveBits: function () {
return Object.assign( return Object.assign(
this.alg(), this.alg(),
@ -787,7 +790,10 @@ make.crypto = {
return { return {
} }
}, },
generateKey: () => { generateKey: function () {
return this.alg()
},
importKey: function () {
return this.alg() return this.alg()
}, },
deriveBits: function () { deriveBits: function () {