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
NodeCryptoSha2Hash
Class NodeCryptoSha2Hash
Hierarchy
NodeCryptoSha2Hash
Index
Constructors
constructor
Properties
create
Hash
Methods
digest
Constructors
constructor
new
Node
Crypto
Sha2
Hash
(
createHash
:
NodeCryptoCreateHash
)
:
NodeCryptoSha2Hash
Parameters
createHash:
NodeCryptoCreateHash
Returns
NodeCryptoSha2Hash
Properties
create
Hash
create
Hash
:
NodeCryptoCreateHash
Methods
digest
digest
(
data
:
Buffer
, algorithm
?:
string
)
:
Promise
<
Buffer
>
Parameters
data:
Buffer
Default value
algorithm:
string
= "sha256"
Returns
Promise
<
Buffer
>
Globals
Node
Crypto
Sha2
Hash
constructor
create
Hash
digest
Generated using
TypeDoc