security

package
v2.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: MIT Imports: 6 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 OracleNetworkDataIntegrity added in v2.1.22

type OracleNetworkDataIntegrity interface {
	Init() error
	Compute(input []byte) []byte
	Validate(input []byte) ([]byte, error)
}

type OracleNetworkEncryption added in v2.1.21

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

type OracleNetworkHash added in v2.1.22

type OracleNetworkHash struct {
	Hash hash.Hash
	// contains filtered or unexported fields
}

func NewOracleNetworkHash added in v2.1.22

func NewOracleNetworkHash(hash hash.Hash, key, iv []byte) (*OracleNetworkHash, error)

func (*OracleNetworkHash) Compute added in v2.1.22

func (onh *OracleNetworkHash) Compute(input []byte) []byte

func (*OracleNetworkHash) Init added in v2.1.22

func (onh *OracleNetworkHash) Init() error

func (*OracleNetworkHash) Validate added in v2.1.22

func (onh *OracleNetworkHash) Validate(input []byte) ([]byte, error)

type OracleNetworkHash2 added in v2.1.22

type OracleNetworkHash2 struct {
	Hash hash.Hash
	// contains filtered or unexported fields
}

func NewOracleNetworkHash2 added in v2.1.22

func NewOracleNetworkHash2(hash hash.Hash, key, iv []byte) (*OracleNetworkHash2, error)

func (*OracleNetworkHash2) Compute added in v2.1.22

func (onh *OracleNetworkHash2) Compute(input []byte) []byte

func (*OracleNetworkHash2) Init added in v2.1.22

func (onh *OracleNetworkHash2) Init() error

func (*OracleNetworkHash2) Validate added in v2.1.22

func (onh *OracleNetworkHash2) Validate(input []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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