Documentation ¶
Index ¶
- func DecryptData(secretKeyOrPwd string, ctStr string) ([]byte, error)
- func DecryptStream(secretKeyOrPwd string, dst io.Writer, src io.Reader) (err error)
- func DecryptingReader(secretKeyOrPwd string, src io.Reader) (io.Reader, error)
- func EncryptData(keyOrPwd string, data []byte, compress bool) (string, error)
- func EncryptStream(keyOrPwd string, dst io.Writer, src io.Reader, compress bool) (err error)
- func EncryptingWriter(keyOrPwd string, dst io.Writer, compress bool) (io.WriteCloser, error)
- func GetPublicKey(secretKeyOrPwd string, quantumSafe bool) (string, error)
- func IsPubKeyStr(pubKeyStr string) bool
- func IsSecretKeyStr(secretKeyStr string) bool
- func NewSecretKey() (sk string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptStream ¶
func DecryptingReader ¶
func EncryptStream ¶
func EncryptingWriter ¶
func IsPubKeyStr ¶
func IsSecretKeyStr ¶
func NewSecretKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.