Aead.nonce_size: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/aead.bend as Aead Lines 50-55 of bend-collections@1.0.0.0/src/crypto/aead.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/aead.bend&start_line=50&end_line=55 import Base def nonce_size(alg: Alg) -> Nat: match alg: case CHACHA20_POLY1305{}: 12n case XCHACHA20_POLY1305{}: 24n case AES_128_GCM{}: 12n case AES_256_GCM{}: 12n Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/aead.bend&name=Alg