package
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: Jan 21, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func DesEncrypt(key, plainText string) (string, error)
-
func PKCS7Padding(plainText []byte, blockSize int) []byte
-
func RsaEncrypt(publicKey string, data string) (string, error)
-
func SendEmail(host string, username string, password string, to string, subject string, ...) error
Encrypt encrypts the plaintext using DES algorithm with the given key
func PKCS7Padding(plainText []byte, blockSize int) []byte
PKCS7Padding pads the plaintext to be a multiple of the block size
Source Files
¶
Click to show internal directories.
Click to hide internal directories.