Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKeyDifficulty ¶
Types ¶
type PrivateKey ¶
type PrivateKey struct {
// contains filtered or unexported fields
}
func GenerateDifficultKey ¶
func GenerateDifficultKey(difficulty uint) (key PrivateKey, err error)
GenerateDifficultKey generates key with required difficulty. It should take ~1-2s for difficulty 14.
func GeneratePrivateKey ¶
func GeneratePrivateKey() (key PrivateKey, err error)
func (*PrivateKey) GetPublicKey ¶
func (self *PrivateKey) GetPublicKey() PublicKey
type PublicKey ¶
type PublicKey struct {
// contains filtered or unexported fields
}
func PublicKeyFromBytes ¶
Click to show internal directories.
Click to hide internal directories.