KeyHash
Uppercase hex SHA-256 of a public key or credential id. Used to identify keys on chain.
Definition
type KeyHash = HexConstruction
import { createKeyHash } from "@left-curve/sdk"
const hash = createKeyHash(publicKeyBytes) // "ABCDEF0123456789..."The helper sha256-hashes the input and upper-cases the hex output.