Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func B64ToBytes ¶ added in v0.4.0
B64ToBytes converst base64 string to bytes
func BytesToB64 ¶ added in v0.4.0
BytesToB64 encodes to bytes to base64 string
func BytesToBIP39 ¶ added in v0.4.0
BytesToBIP39 convets entrypy to BIP39 mnemonic
func RandomBytes ¶ added in v0.4.0
RandomBytes create n bytes using crypto/rand
Types ¶
type AesGcmCypher ¶
type AesGcmCypher struct {
// contains filtered or unexported fields
}
AesGcmCypher implements the AES GCM
func NewAesGcmCypher ¶
func NewAesGcmCypher(key string) (*AesGcmCypher, error)
NewAesGcmCypher creates the intance of AesGcmCypher
Click to show internal directories.
Click to hide internal directories.