Versions in this module Expand all Collapse all v0 v0.6.0 Jan 2, 2024 v0.5.0 Jan 1, 2024 Changes in this version + const KeyLength + type PrivateKey struct + func GetPrivateKey(key []byte) (*PrivateKey, error) + func NewPrivateKey() (*PrivateKey, error) + func (privateKey *PrivateKey) Bytes() []byte + func (privateKey *PrivateKey) NewDecryptingReader(src io.Reader) (io.ReadCloser, error) + func (privateKey *PrivateKey) PublicKey() (*PublicKey, error) + type PublicKey struct + func GetPublicKey(key []byte) (*PublicKey, error) + func (publicKey *PublicKey) Bytes() []byte + func (publicKey *PublicKey) NewEncryptingWriter(dst io.Writer, compression bool) (io.WriteCloser, error)