Disclaimer: This package is under active development and APIs may change.
A collection of useful primitives for cryptography, semantic graphs, and cryptocurrency, primarily for use in higher-level Blockchain Commons projects. All the types are CBOR serializable, and a number of them can also be serialized to and from URs.
Also includes a library of CBOR tags and UR types for use with these types.
This TypeScript implementation is based on bc-components-rust v0.30.0 (commit).
The following features require platform-specific implementations and are not yet functional:
These features will throw a CryptoError with kind SshAgent or Ssh when attempted. Use alternative methods:
HKDF, PBKDF2, Scrypt, or Argon2id instead of SSHAgentEd25519, Schnorr, Ecdsa, or Sr25519 schemes instead of SSH schemes