Documentation ¶
Index ¶
- func GenerateMultisignerAuthKey(publicKeys [][]byte, threshold int) ([32]byte, error)
- func GetOldVersionPrivateKeyWithMnemonic(mnemonic string) ([]byte, error)
- func Sign(privateKey ed25519.PrivateKey, data []byte, salt string) []byte
- func Verify(publicKey, message, signature []byte) bool
- type Account
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOldVersionPrivateKeyWithMnemonic ¶
GetOldVersionPrivateKeyWithMnemonic Deprecated
Types ¶
type Account ¶
type Account struct { PrivateKey ed25519.PrivateKey PublicKey ed25519.PublicKey AuthKey [32]byte }
func NewAccount ¶
func NewAccountWithMnemonic ¶
Click to show internal directories.
Click to hide internal directories.