package util
import "github.com/hlandau/parazmq/util"
Index ¶
- func DecodeZ85(ks string) (k []byte, err error)
- func DecodeZ85Key(ks string) (k [32]byte, err error)
- func GeneratePrivateKey() (k [32]byte, err error)
Functions ¶
func DecodeZ85 ¶
Decodes Z85 encoded data.
func DecodeZ85Key ¶
Decodes Z85 encoded data. The input string must be 40 bytes in length.
func GeneratePrivateKey ¶
Generate a random Ed25519 private key. Uses package rand.
Source Files ¶
- Version
- v0.0.0-20210323063629-d55c8d2d05c8 (latest)
- Published
- Mar 23, 2021
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 1 month ago –
Tools for package owners.