Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Crypto ¶
type Crypto interface { Pubkey Decrypt(c []byte) ([]byte, error) GetMtaProof(curve elliptic.Curve, beta *big.Int, a *big.Int) ([]byte, error) VerifyMtaProof(msg []byte, curve elliptic.Curve, alpha *big.Int, k *big.Int) (*pt.ECPoint, error) GetPubKey() Pubkey NewPubKeyFromBytes([]byte) (Pubkey, error) }
Click to show internal directories.
Click to hide internal directories.