Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PrivateKey ¶
type PrivateKey struct {
// contains filtered or unexported fields
}
func GenerateKey ¶
func GenerateKey(rand io.Reader) (*PrivateKey, error)
func NewPrivateKey ¶
func NewPrivateKey(key []byte) (*PrivateKey, error)
func (*PrivateKey) Bytes ¶
func (sk *PrivateKey) Bytes() []byte
func (*PrivateKey) Equal ¶
func (sk *PrivateKey) Equal(op crypto.PrivateKey) bool
func (*PrivateKey) NewSignerState ¶
func (sk *PrivateKey) NewSignerState() *SignerState
func (*PrivateKey) Public ¶
func (sk *PrivateKey) Public() crypto.PublicKey
type PublicKey ¶
type PublicKey struct {
// contains filtered or unexported fields
}
func NewPublicKey ¶
func (*PublicKey) NewUserState ¶
type SignerState ¶
type SignerState struct {
// contains filtered or unexported fields
}
func (*SignerState) NewCommitment ¶
func (ss *SignerState) NewCommitment() ([]byte, error)
func (*SignerState) NewResponse ¶
func (ss *SignerState) NewResponse(chalBytes []byte) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.