padding

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT Imports: 1 Imported by: 0

README

Padding

Padding utilities for cipher operations.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ISOIEC7816Pad added in v0.2.0

func ISOIEC7816Pad(data []byte, blockSize int) ([]byte, error)

ISOIEC7816Pad adds ISO/IEC 7816-4:2005 padding to the provided block.

https://en.wikipedia.org/wiki/Padding_(cryptography)#ISO/IEC_7816-4

func ISOIEC7816Unpad added in v0.2.0

func ISOIEC7816Unpad(data []byte, blockSize int) ([]byte, error)

ISOIEC7816Unpad removes ISO/IEC 7816-4:2005 padding from the provided block.

https://en.wikipedia.org/wiki/Padding_(cryptography)#ISO/IEC_7816-4

Types

This section is empty.

Jump to

Keyboard shortcuts

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