security

package
v2.1.21 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: MIT Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PKCS5Padding added in v2.1.21

func PKCS5Padding(cipherText []byte, blockSize int) []byte

Types

type OracleNetworkCBCCryptor added in v2.1.21

type OracleNetworkCBCCryptor struct {
	// contains filtered or unexported fields
}

func NewOracleNetworkCBCEncrypter added in v2.1.21

func NewOracleNetworkCBCEncrypter(key, iv []byte) (*OracleNetworkCBCCryptor, error)

func (*OracleNetworkCBCCryptor) Decrypt added in v2.1.21

func (sec *OracleNetworkCBCCryptor) Decrypt(input []byte) ([]byte, error)

func (*OracleNetworkCBCCryptor) Encrypt added in v2.1.21

func (sec *OracleNetworkCBCCryptor) Encrypt(input []byte) ([]byte, error)

type OracleNetworkDataEntegrity added in v2.1.21

type OracleNetworkDataEntegrity interface {
	Hash(input []byte) ([]byte, error)
}

type OracleNetworkEncryption added in v2.1.21

type OracleNetworkEncryption interface {
	Encrypt(input []byte) ([]byte, error)
	Decrypt(input []byte) ([]byte, error)
}

Jump to

Keyboard shortcuts

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