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
)
:
WebCryptoSha2Hash
Parameters
subtleCrypto
:
SubtleCrypto
Returns
WebCryptoSha2Hash
Properties
subtle
Crypto
subtle
Crypto
:
SubtleCrypto
Methods
digest
digest
(
data
,
algorithm
?
)
:
Promise
<
Uint8Array
>
Parameters
data
:
Uint8Array
algorithm
:
string
= 'sha256'
Returns
Promise
<
Uint8Array
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
subtle
Crypto
digest
Stacks.js
@stacks/auth
@stacks/encryption
@stacks/network
@stacks/stacking
@stacks/transactions
@stacks/bns
@stacks/common
@stacks/profile
sbtc
@stacks/storage
@stacks/wallet-sdk
Generated using
TypeDoc