@bates-solutions/payments-core API Reference - v0.2.0
    Preparing search index...

    Module crypto

    WebCrypto primitives: HMAC-SHA256, constant-time compare, hex and base64 encoding, the timestamped t=…,v1=… header scheme, and random idempotency keys. No Node built-ins.

    createIdempotencyKey → createIdempotencyKey
    fromBase64 → fromBase64
    hmacSha256 → hmacSha256
    parseTimestampedSignatureHeader → parseTimestampedSignatureHeader
    TimestampedHmacFailure → TimestampedHmacFailure
    TimestampedHmacResult → TimestampedHmacResult
    TimestampedSignatureHeader → TimestampedSignatureHeader
    timingSafeEqual → timingSafeEqual
    toBase64 → toBase64
    toHex → toHex
    verifyTimestampedHmac → verifyTimestampedHmac
    VerifyTimestampedHmacOptions → VerifyTimestampedHmacOptions