X25519.cs_snd: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/spec/crypto/curve25519/x25519.bend as X25519 Lines 87-92 of bend-collections-laws-crypto@1.0.0.0/spec/crypto/curve25519/x25519.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/crypto/curve25519/x25519.bend&start_line=87&end_line=92 import Base def cs_snd(swap: Nat, a: Nat, b: Nat) -> Nat: match swap: case 0n: b case 1n+q: a Uses (1): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat