ciphers

package
v0.0.0-...-fdc5c16 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ICipher

type ICipher interface {
	Type() string
	Encrypt(plainText []byte, key []byte, param interface{}) (result cipherCommon.EncryptedData, err error)
	Decrypt(cipherText cipherCommon.EncryptedData, key []byte, param interface{}) (plaintext []byte, err error)
}

func CipherByAlgorithmType

func CipherByAlgorithmType(cType string) ICipher

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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