cryptography

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AESCBCDecrypt

func AESCBCDecrypt(cipherText, key, iv []byte) []byte

func AESCBCEncrypt

func AESCBCEncrypt(plainText, key, iv []byte) []byte

func AESECBDecrypt

func AESECBDecrypt(cipherText, key []byte) []byte

func AESECBEncrypt

func AESECBEncrypt(plainText, key []byte) []byte

func NewECBDecrypter

func NewECBDecrypter(b cipher.Block) cipher.BlockMode

func NewECBEncrypter

func NewECBEncrypter(b cipher.Block) cipher.BlockMode

func RSAEncrypt

func RSAEncrypt(origData []byte, modulus string, exponent int64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL