Methods
encodeBase58(buffer) → {string}
- Description:
Encodes a buffer into Base58 format.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
buffer |
Buffer | The buffer to encode. |
Returns:
- The Base58 encoded string.
- Type
- string
sha256(input) → {Buffer}
- Description:
Computes the SHA256 hash of a given input.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
input |
string | Buffer | The input to hash. |
Returns:
- The SHA256 hash as a buffer.
- Type
- Buffer