Ed25519.secret: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/ed25519/ed25519.bend as Ed25519 Lines 28-30 of bend-collections@1.0.0.0/src/crypto/ed25519/ed25519.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/ed25519/ed25519.bend&start_line=28&end_line=30 import Base import bend-collections@1.0.0.0/src/crypto/curve25519/field.bend as F import bend-collections@1.0.0.0/src/crypto/curve25519/x25519.bend as X # the secret scalar s (pruned lower half of SHA-512(seed)) and the prefix def secret(+h: List<&2, U32>) -> List<&2, U32>: X.clamp(F.take(32n, h)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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/src/crypto/curve25519/field.bend&name=take https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/curve25519/x25519.bend&name=clamp