Preparing search index...
The search index is not available
Stacks.js
Stacks.js
@stacks/encryption
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
:
Uint8Array
, algorithm
?:
string
)
:
Promise
<
Uint8Array
>
Parameters
data:
Uint8Array
algorithm:
string
= 'sha256'
Returns
Promise
<
Uint8Array
>
@stacks/auth
@stacks/bns
@stacks/common
@stacks/encryption
@stacks/network
@stacks/profile
@stacks/stacking
@stacks/storage
@stacks/transactions
Cl
Pc
@stacks/wallet-
sdk
Web
Crypto
Sha2
Hash
constructor
subtle
Crypto
digest
Theme
OS
Light
Dark
Generated using
TypeDoc