encryptToKeyStore
encryptToKeyStore(
phrase
,password
):Promise
<{crypto
: {cipher
:string
;cipherparams
: {iv
:string
; };ciphertext
:string
;kdf
:string
;kdfparams
: {c
:number
;dklen
:number
;prf
:string
;salt
:string
; };mac
:string
; };meta
:string
;version
:number
; }>
Defined in: wallets/src/keystore/helpers.ts:34
Parameters
Section titled “Parameters”phrase
Section titled “phrase”string
password
Section titled “password”string
Returns
Section titled “Returns”Promise
<{ crypto
: { cipher
: string
; cipherparams
: { iv
: string
; }; ciphertext
: string
; kdf
: string
; kdfparams
: { c
: number
; dklen
: number
; prf
: string
; salt
: string
; }; mac
: string
; }; meta
: string
; version
: number
; }>