Chacha20poly1305.open_split: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/spec/crypto/chacha20poly1305.bend as Chacha20poly1305 Lines 51-52 of bend-collections@1.0.0.0/spec/crypto/chacha20poly1305.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/spec/crypto/chacha20poly1305.bend&start_line=51&end_line=52 import Base import bend-collections@1.0.0.0/spec/crypto/subtle.bend as EQ def open_split(+key: List<&2, U32>, +nonce: List<&2, U32>, +aad: List<&2, U32>, +ct: List<&2, U32>, +t: List<&2, U32>) -> Maybe<&2, List<&2, U32>>: open_tag(EQ.equal(t, tag(key, nonce, aad, ct)), key, nonce, ct) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/spec/crypto/chacha20poly1305.bend&name=open_tag https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/spec/crypto/chacha20poly1305.bend&name=tag https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/spec/crypto/subtle.bend&name=equal