Documentation ¶
Index ¶
Constants ¶
View Source
const ( PrivKeyName = "tendermint/PrivKey512" PubKeyName = "tendermint/PubKey512" PubKeySize = gkeys.PubKeySize512 PrivateKeySize = gkeys.PrivKeySize512 SignatureSize = gkeys.SignatureSize512 ProvType = "512" KeyType = gkeys.KeyType + " " + ProvType )
Variables ¶
This section is empty.
Functions ¶
func NewBatchVerifier ¶
func NewBatchVerifier() crypto.BatchVerifier
Types ¶
type BatchVerifier ¶
type BatchVerifier gkeys.BatchVerifierX
func (*BatchVerifier) Add ¶
func (b *BatchVerifier) Add(key crypto.PubKey, msg, signature []byte) error
func (*BatchVerifier) Verify ¶
func (b *BatchVerifier) Verify() (bool, []bool)
type PrivKey ¶
type PrivKey gkeys.PrivKey512
func GenPrivKey ¶
func GenPrivKey() PrivKey
func GenPrivKeyWithInput ¶
Click to show internal directories.
Click to hide internal directories.