Capsium TypeScript API
    Preparing search index...

    Interface HashProvider

    Hash provider abstraction. Core declares the interface and the compute/verify logic; implementations live in consumers (@capsium/packager uses node:crypto, @capsium/swsws uses WebCrypto).

    interface HashProvider {
        algorithm: "SHA-256";
        digestHex(data: Uint8Array): Promise<string>;
    }

    Implemented by

    Index
    algorithm: "SHA-256"