Search
Preparing search index...
The search index is not available
Stacks.js
4.3.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@stacks
encryption
NodeCryptoSha2Hash
Class NodeCryptoSha2Hash
Hierarchy
NodeCryptoSha2Hash
Index
Constructors
constructor
Properties
create
Hash
Methods
digest
Constructors
constructor
new
Node
Crypto
Sha2
Hash
(
createHash
:
(
(
algorithm
:
string
, options
?:
HashOptions
)
=>
Hash
)
)
:
NodeCryptoSha2Hash
Parameters
createHash:
(
(
algorithm
:
string
, options
?:
HashOptions
)
=>
Hash
)
(
algorithm
:
string
, options
?:
HashOptions
)
:
Hash
Parameters
algorithm:
string
Optional
options:
HashOptions
Returns
Hash
Returns
NodeCryptoSha2Hash
Properties
create
Hash
create
Hash
:
(
(
algorithm
:
string
, options
?:
HashOptions
)
=>
Hash
)
Type declaration
(
algorithm
:
string
, options
?:
HashOptions
)
:
Hash
Parameters
algorithm:
string
Optional
options:
HashOptions
Returns
Hash
Methods
digest
digest
(
data
:
Buffer
, algorithm
?:
string
)
:
Promise
<
Buffer
>
Parameters
data:
Buffer
algorithm:
string
= 'sha256'
Returns
Promise
<
Buffer
>
Packages
auth
bns
cli
common
encryption
keychain
network
profile
stacking
storage
transactions
wallet-
sdk
Node
Crypto
Sha2
Hash
constructor
create
Hash
digest
Generated using
TypeDoc