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