package
Version:
v0.0.0-...-f3abbe6
Opens a new window with list of versions in this module.
Published: Sep 27, 2020
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func SonnefesDecrypt(cipher string, key string) (string, error)
-
func SonnefesEncrypt(plainText, key string) (string, error)
-
func SymmetricDecrypt(ea Alg, cipherText, key []byte) (plainText []byte, err error)
-
func SymmetricEncrypt(ea Alg, plainText, key []byte) (cipherText []byte, err error)
-
type Alg
func SymmetricDecrypt(ea Alg, cipherText, key []byte) (plainText []byte, err error)
func SymmetricEncrypt(ea Alg, plainText, key []byte) (cipherText []byte, err error)
const (
ALG_AES_128_CBC Alg = "ALG_AES_128_CBC"
ALG_AES_128_CTR Alg = "ALG_AES_128_CTR"
ALG_AES_256_CBC Alg = "ALG_AES_256_CBC"
ALG_AES_256_CTR Alg = "ALG_AES_256_CTR"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.