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
WebCryptoSha2Hash
Class WebCryptoSha2Hash
Hierarchy
WebCryptoSha2Hash
Implements
Sha2Hash
Index
Constructors
constructor
Properties
subtle
Crypto
Methods
digest
Constructors
constructor
new
Web
Crypto
Sha2
Hash
(
subtleCrypto
:
SubtleCrypto
)
:
WebCryptoSha2Hash
Parameters
subtleCrypto:
SubtleCrypto
Returns
WebCryptoSha2Hash
Properties
subtle
Crypto
subtle
Crypto
:
SubtleCrypto
Methods
digest
digest
(
data
:
Buffer
, algorithm
?:
string
)
:
Promise
<
Buffer
>
Parameters
data:
Buffer
Default value
algorithm:
string
= "sha256"
Returns
Promise
<
Buffer
>
Globals
Web
Crypto
Sha2
Hash
constructor
subtle
Crypto
digest
Generated using
TypeDoc