def public_of
import bend-collections-laws-crypto@1.0.0.0/src/crypto/ed25519/ed25519.bend as Ed25519import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/ed25519/point.bend as PT
35# xs: an input (the seed or the public key), which keeps the proof checker
36# from computing the curve constants (see PT.lit)
37def public_of(+c: PT.Cs, +xs: List<&2, U32>, +h: List<&2, U32>) -> List<&2, U32>:
38 PT.encode(PT.mul(c, secret(h), PT.base(c, xs)))
Uses (7)
Used by (5)
- bend-collections-laws-crypto@1.0.0.0/src/crypto/ed25519/ed25519:public_key
- bend-collections-laws-crypto@1.0.0.0/src/crypto/ed25519/ed25519:sign_with
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/ed25519/top:public_rel
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/ed25519/top:public_body_rel
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/ed25519/top:sign_body_rel