security

package
v0.0.0-...-82b17fd Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PKCS5Padding

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

Types

type OracleNetworkCBCCryptor

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

func NewOracleNetworkCBCEncrypter

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

func (*OracleNetworkCBCCryptor) Decrypt

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

func (*OracleNetworkCBCCryptor) Encrypt

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

type OracleNetworkDESCryptor

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

func NewOracleNetworkDESCryptor

func NewOracleNetworkDESCryptor(key []byte, iv []byte) (*OracleNetworkDESCryptor, error)

func (*OracleNetworkDESCryptor) Decrypt

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

func (*OracleNetworkDESCryptor) Encrypt

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

type OracleNetworkDataIntegrity

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

type OracleNetworkEncryption

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

type OracleNetworkHash

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

func NewOracleNetworkHash

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

func (*OracleNetworkHash) Compute

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

func (*OracleNetworkHash) Init

func (onh *OracleNetworkHash) Init() error

func (*OracleNetworkHash) Validate

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

type OracleNetworkHash2

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

func NewOracleNetworkHash2

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

func (*OracleNetworkHash2) Compute

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

func (*OracleNetworkHash2) Init

func (onh *OracleNetworkHash2) Init() error

func (*OracleNetworkHash2) Validate

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

Directories

Path Synopsis
Package md4 implements the MD4 hash algorithm as defined in RFC 1320.
Package md4 implements the MD4 hash algorithm as defined in RFC 1320.

Jump to

Keyboard shortcuts

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