Add two missing importKey methods
This commit is contained in:
parent
96e9210407
commit
6c0c0c0fff
1 changed files with 7 additions and 1 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue