Versions in this module Expand all Collapse all v0 v0.8.14 Sep 15, 2021 Changes in this version + const KeyType + const PrivKeyName + const PrivateKeySize + const ProvType + const PubKeyName + const PubKeySize + const SignatureSize + func NewBatchVerifier() crypto.BatchVerifier + type BatchVerifier gkeys.BatchVerifierX + func (b *BatchVerifier) Add(key crypto.PubKey, msg, signature []byte) error + func (b *BatchVerifier) Verify() (bool, []bool) + type PrivKey gkeys.PrivKey512 + func GenPrivKey() PrivKey + func GenPrivKeyWithInput(subject, password string) PrivKey + func (privKey PrivKey) Bytes() []byte + func (privKey PrivKey) Equals(other crypto.PrivKey) bool + func (privKey PrivKey) PubKey() crypto.PubKey + func (privKey PrivKey) Sign(msg []byte) ([]byte, error) + func (privKey PrivKey) Type() string + type PubKey gkeys.PubKey512 + func (pubKey PubKey) Address() crypto.Address + func (pubKey PubKey) Bytes() []byte + func (pubKey PubKey) Equals(other crypto.PubKey) bool + func (pubKey PubKey) String() string + func (pubKey PubKey) Type() string + func (pubKey PubKey) VerifySignature(msg []byte, sig []byte) bool