Search
Preparing search index...
The search index is not available
Stacks.js 1.4.1 Library Reference
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Stacks.js 1.4.1 Library Reference
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
>
Modules
auth
bns
cli
common
encryption
keychain
network
profile
stacking
storage
transactions
auth
bns
cli
common
encryption
Node
Crypto
Sha2
Hash
constructor
create
Hash
digest
Web
Crypto
Sha2
Hash
Encrypt
Content
Options
Encryption
Options
Sha2
Hash
Get
Random
Bytes
create
Sha2
Hash
decrypt
Content
encrypt
Content
get
Base64
Output
Length
hash
Sha256
Sync
hash
Sha512
Sync
random
Bytes
keychain
network
profile
stacking
storage
transactions
Generated using
TypeDoc