Search
Preparing search index...
The search index is not available
blockstack.js 21.0.0-alpha.1 Library Reference
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
WebCryptoCipher
Class WebCryptoCipher
Hierarchy
WebCryptoCipher
Implements
Cipher
Index
Constructors
constructor
Properties
subtle
Crypto
Methods
decrypt
encrypt
Constructors
constructor
new
Web
Crypto
Cipher
(
subtleCrypto
:
SubtleCrypto
)
:
WebCryptoCipher
Parameters
subtleCrypto:
SubtleCrypto
Returns
WebCryptoCipher
Properties
subtle
Crypto
subtle
Crypto
:
SubtleCrypto
Methods
decrypt
decrypt
(
algorithm
:
CipherAlgorithm
, key
:
NodeJS.TypedArray
, iv
:
NodeJS.TypedArray
, data
:
NodeJS.TypedArray
)
:
Promise
<
Buffer
>
Parameters
algorithm:
CipherAlgorithm
key:
NodeJS.TypedArray
iv:
NodeJS.TypedArray
data:
NodeJS.TypedArray
Returns
Promise
<
Buffer
>
encrypt
encrypt
(
algorithm
:
CipherAlgorithm
, key
:
NodeJS.TypedArray
, iv
:
NodeJS.TypedArray
, data
:
NodeJS.TypedArray
)
:
Promise
<
Buffer
>
Parameters
algorithm:
CipherAlgorithm
key:
NodeJS.TypedArray
iv:
NodeJS.TypedArray
data:
NodeJS.TypedArray
Returns
Promise
<
Buffer
>
Globals
Web
Crypto
Cipher
constructor
subtle
Crypto
decrypt
encrypt
Generated using
TypeDoc