std.x.crypto.chacha20 [x] std.x.crypto.chacha20.block pub fn block(key: List[byte], counter: int, nonce: List[byte]) -> List[byte] — The ChaCha20 block function (RFC 8439 §2.3): 64 keystream bytes for one (key, counter, nonce) triple. std.x.crypto.chacha20.stream_xor pub fn stream_xor( key: List[byte], counter: int, nonce: List[byte], data: List[byte], ) -> List[byte] — The ChaCha20 stream cipher (RFC 8439 §2.4): XORs data with the keystream starting at block counter; its own inverse, so one function is both directions. std.x.crypto.chacha20.poly1305 pub fn poly1305(key: List[byte], msg: List[byte]) -> List[byte] — The Poly1305 one-time authenticator (RFC 8439 §2.5): a 16-byte tag over msg under a 32-byte one-time key (r || s). std.x.crypto.chacha20.poly_key pub fn poly_key(key: List[byte], nonce: List[byte]) -> List[byte] — The per-nonce Poly1305 key (RFC 8439 §2.6): the first 32 bytes of the ChaCha20 block at counter ZERO — which is why the AEAD's encryption starts at counter one. std.x.crypto.chacha20.seal pub fn seal( key: List[byte], nonce: List[byte], aad: List[byte], plaintext: List[byte], ) -> List[byte] — AEAD_CHACHA20_POLY1305 seal (RFC 8439 §2.8): encrypts plaintext under (key, nonce) with the ciphertext starting at block counter 1, authenticates aad and ciphertext per the §2.8 transcript under the §2.6 per-nonce Poly1305 key, and returns ciphertext || 16-byte tag as one sequence. std.x.crypto.chacha20.open pub fn open( key: List[byte], nonce: List[byte], aad: List[byte], boxed: List[byte], ) -> List[byte] ! {tag} — AEAD_CHACHA20_POLY1305 open (RFC 8439 §2.8): verifies the tag over the §2.8 transcript, and ONLY on success decrypts and returns the plaintext. std.x.crypto.chacha20.to_hex pub fn to_hex(b: List[byte]) -> str — b as lowercase hexadecimal, two digits per byte — this module's own rendering so its tests and examples import exactly one module (the sha2 precedent); std.hex.encode is the facade spelling.