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 ¶ added in v1.6.0
func DecryptingReader ¶ added in v1.6.1
func EncryptData ¶ added in v1.6.0
func EncryptStream ¶ added in v1.6.0
func EncryptingWriter ¶ added in v1.6.1
func IsPubKeyStr ¶ added in v1.6.0
func IsSecretKeyStr ¶ added in v1.6.0
func NewSecretKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.