@ipshipyard/keychain
Preparing search index...
Cipher
Interface Cipher
interface
Cipher
{
decrypt
(
salt
:
Uint8Array
,
iv
:
Uint8Array
,
cipherText
:
Uint8Array
,
options
?:
CipherOptions
,
)
:
Promise
<
Uint8Array
<
ArrayBuffer
>
>
;
encrypt
(
data
:
Uint8Array
,
options
?:
AbortOptions
,
)
:
Promise
<
EncryptionResult
>
;
}
Index
Methods
decrypt
encrypt
Methods
decrypt
decrypt
(
salt
:
Uint8Array
,
iv
:
Uint8Array
,
cipherText
:
Uint8Array
,
options
?:
CipherOptions
,
)
:
Promise
<
Uint8Array
<
ArrayBuffer
>
>
Parameters
salt
:
Uint8Array
iv
:
Uint8Array
cipherText
:
Uint8Array
Optional
options
:
CipherOptions
Returns
Promise
<
Uint8Array
<
ArrayBuffer
>
>
encrypt
encrypt
(
data
:
Uint8Array
,
options
?:
AbortOptions
)
:
Promise
<
EncryptionResult
>
Parameters
data
:
Uint8Array
Optional
options
:
AbortOptions
Returns
Promise
<
EncryptionResult
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
decrypt
encrypt
@ipshipyard/keychain
Loading...