new TaggedHash()
- Description:
Tagged hash utility for BIP340
- Source:
Methods
(static) create(tag, data) → {Buffer}
- Description:
Create a tagged hash
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
tag |
string | Hash tag |
data |
Buffer | Data to hash |
Returns:
32-byte tagged hash
- Type
- Buffer