padding

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PKCS5 pkcs5
	PKCS7 pkcs7
	Zero  zero
)

Functions

This section is empty.

Types

type BlockSizeError

type BlockSizeError int

func (BlockSizeError) Error

func (i BlockSizeError) Error() string

type InvalidDataError

type InvalidDataError int

func (InvalidDataError) Error

func (i InvalidDataError) Error() string

type Padding

type Padding interface {
	Pad(data []byte, blocksize int) ([]byte, error)
	Unpad(data []byte, blocksize int) ([]byte, error)
}

Jump to

Keyboard shortcuts

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