Expand description
The algorithm contracts every IronCrypto primitive implements.
Two properties make these traits agent-friendly:
- Self-describing. Every implementation carries an
Algorithm::IDthat resolves to an entry in the ontology, so a value at runtime can be traced back to its full machine-readable specification. - Total. Nothing panics on bad input; sizes are surfaced as associated constants and as ontology metadata, so an agent can validate a call before making it.
Traitsยง
- Aead
- An authenticated cipher with associated data.
- Algorithm
- Links a concrete implementation to its ontology entry.
- Block
Cipher - A fixed-width block cipher primitive (raw ECB core, for use inside modes).
- Digest
- A cryptographic hash function with a fixed-length output.
- Drbg
- A deterministic random bit generator (SP 800-90A).
- Kdf
- A key derivation function that expands keying material to a requested length.
- KeyAgreement
- A Diffie-Hellman style key agreement scheme.
- Mac
- A keyed message authentication code.
- Random
Source - A source of random bytes suitable for key generation.
- Self
Test - A known-answer test an implementation runs to satisfy FIPS 140-3 CAST requirements.
- Signature
Scheme - A digital signature scheme.
- Xof
- An extendable-output function (XOF) such as SHAKE128 / SHAKE256.