NULS JS - API Reference
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Nuls
Digest
Data
HASH_
LENGTH
digest
Alg
Type
digest
Hierarchy
NulsDigestData
Index
Properties
HASH_
LENGTH
digest
Alg
Type
Methods
digest
Properties
Static
HASH_
LENGTH
HASH_
LENGTH
:
number
= 34
Static
Protected
digest
Alg
Type
digest
Alg
Type
:
number
= NulsDigestDataAlgType.DIGEST_ALG_SHA256
Methods
Static
digest
digest
(
data
:
Buffer
, digestAlgType
?:
NulsDigestDataAlgType
)
:
IDigestData
Parameters
data:
Buffer
Default value
digestAlgType:
NulsDigestDataAlgType
= NulsDigestData.digestAlgType
Returns
IDigestData