package
0.0.0-20220927030630-ac0a93986d99
Repository: https://github.com/nealzh/go_utils.git
Documentation: pkg.go.dev

# Functions

BytesToPrivateKey bytes to private key.
BytesToPublicKey bytes to public key.
DecryptWithPrivateKey decrypts data with private key.
EncryptWithPublicKey encrypts data with public key.
GenerateKey Copy from https://gist.github.com/wongoo/2b974a9594627114bea3e53c794980cd GenerateKey.
No description provided by the author
No description provided by the author
GenerateKeyPair Copy from https://gist.github.com/miguelmota/3ea9286bd1d3c2a985b67cac4ba2130a GenerateKeyPair generates a new key pair.
No description provided by the author
No description provided by the author
No description provided by the author
PrivateKeyToBytes private key to bytes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PublicKeyToBytes public key to bytes.
No description provided by the author
No description provided by the author