627 B
627 B
@suaveplan/crypto-utils
0.0.0
- Initial scaffold under
crypto-primitive-replaceabilityPhase 0. - Encoding: hex, base64, base64url, base58.
- Bytes helpers:
concatBytes,xor,i2osp,os2ip. - Constant-time equality.
- Random bytes (wraps
globalThis.crypto.getRandomValues). - Zeroize.
- Merkle-root / Merkle-proof (generic over any hash primitive).
- Test harnesses:
runVectors(KAT),diffFuzz(differential fuzz). PrimitiveIdunion + registry of every primitive acrosscrypto-hash,crypto-curve,crypto-cipher.PrimitiveNotImplementederror (codeCRYPTO.UTILS.PRIMITIVE_NOT_IMPLEMENTED).