hc

package
v1.0.3009 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCipher added in v1.0.2058

func NewCipher(key, iv []byte) (cipher.Stream, error)

NewCipher creates and returns a new cipher.Block.

func NewCipher128

func NewCipher128(key, iv []byte) (cipher.Stream, error)

NewCipher128 creates and returns a new cipher.Stream.

func NewCipher256

func NewCipher256(key, iv []byte) (cipher.Stream, error)

NewCipher256 creates and returns a new cipher.Stream.

func P32

func P32(P, Q, X []uint32, i, x uint32)

func P32L

func P32L(P, Q, X []uint32, i, x uint32)

func P32L_block

func P32L_block(P, Q, X, block []uint32, i, x uint32)

func P32_128L_P

func P32_128L_P(P, Q, X []uint32, i, x uint32)

func P32_128L_P_block

func P32_128L_P_block(P, Q, X, block []uint32, i, x uint32)

func P32_128L_Q

func P32_128L_Q(P, Q, X []uint32, i, x uint32)

func P32_128L_Q_block

func P32_128L_Q_block(P, Q, X, block []uint32, i, x uint32)

func P32_128_P

func P32_128_P(P, Q, X []uint32, i, x uint32)

func P32_128_P_block

func P32_128_P_block(P, Q, X, block []uint32, i, x uint32)

func P32_128_Q

func P32_128_Q(P, Q, X []uint32, i, x uint32)

func P32_128_Q_block

func P32_128_Q_block(P, Q, X, block []uint32, i, x uint32)

func P32_block

func P32_block(P, Q, X, block []uint32, i, x uint32)

Types

type IVSizeError

type IVSizeError int

func (IVSizeError) Error

func (k IVSizeError) Error() string

type KeySizeError

type KeySizeError int

func (KeySizeError) Error

func (k KeySizeError) Error() string

Jump to

Keyboard shortcuts

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