Documentation ¶ Index ¶ Variables func DecryptRSA(src []byte, path string) ([]byte, error) func EncryptRSA(src []byte, keyPath string) ([]byte, error) func Pow2(exp int64) int64 func RSAGenKey(bits int) error Constants ¶ This section is empty. Variables ¶ View Source var ( TimeFormat = time.RFC3339 ) Functions ¶ func DecryptRSA ¶ func DecryptRSA(src []byte, path string) ([]byte, error) func EncryptRSA ¶ func EncryptRSA(src []byte, keyPath string) ([]byte, error) func Pow2 ¶ func Pow2(exp int64) int64 func RSAGenKey ¶ func RSAGenKey(bits int) error Types ¶ This section is empty. Source Files ¶ View all Source files const.go crypto.go math.go Click to show internal directories. Click to hide internal directories.