Documentation ¶
Index ¶
- type StandaloneCrypto
- func (standaloneCrypto *StandaloneCrypto) GenerateHash(data string) string
- func (standaloneCrypto *StandaloneCrypto) GenerateID(prvKey string) (string, error)
- func (standaloneCrypto *StandaloneCrypto) GeneratePrivateKey() (string, error)
- func (standaloneCrypto *StandaloneCrypto) GenerateSignature(data string, prvKey string) (string, error)
- func (standaloneCrypto *StandaloneCrypto) RecoverID(data string, signature string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StandaloneCrypto ¶
type StandaloneCrypto struct { }
func CreateCrypto ¶
func CreateCrypto() *StandaloneCrypto
func (*StandaloneCrypto) GenerateHash ¶
func (standaloneCrypto *StandaloneCrypto) GenerateHash(data string) string
func (*StandaloneCrypto) GenerateID ¶
func (standaloneCrypto *StandaloneCrypto) GenerateID(prvKey string) (string, error)
func (*StandaloneCrypto) GeneratePrivateKey ¶
func (standaloneCrypto *StandaloneCrypto) GeneratePrivateKey() (string, error)
func (*StandaloneCrypto) GenerateSignature ¶
func (standaloneCrypto *StandaloneCrypto) GenerateSignature(data string, prvKey string) (string, error)
Click to show internal directories.
Click to hide internal directories.