Documentation ¶
Index ¶
- Constants
- func Decrypt(pub kyber.Point, priv kyber.Scalar, b []byte) []byte
- func Encrypt(pub kyber.Point, priv kyber.Scalar, b []byte) []byte
- func PrivateKeyBytes(scalar kyber.Scalar) []byte
- func PrivateKeyFromHex(s string) (kyber.Scalar, error)
- func PubKeyFromBase58(s string) (kyber.Point, error)
- func PubKeyFromBytes(b []byte) (kyber.Point, error)
- func PublicKey(scalar kyber.Scalar) kyber.Point
- func PublicKeyBytes(point kyber.Point) []byte
- func PublicKeyString(point kyber.Point) string
- func Sign(scalar kyber.Scalar, msg []byte) ([]byte, error)
- func Verify(pub kyber.Point, msg, sig []byte) error
Constants ¶
View Source
const (
KeyVersion = 'T'
)
Variables ¶
This section is empty.
Functions ¶
func PrivateKeyBytes ¶
func PublicKeyBytes ¶
func PublicKeyString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.