pkcs1padding

package
v1.0.3027 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PKCS1Padding = crypto.TypePadding.Generate()

PKCS1 补码 PKCS1Padding

Functions

This section is empty.

Types

type PKCS1Paddinger

type PKCS1Paddinger struct{}

func (PKCS1Paddinger) Padding

func (this PKCS1Paddinger) Padding(plainText []byte, blockSize int, opt crypto.IOption) []byte

Padding 补码模式 / padding type

func (PKCS1Paddinger) UnPadding

func (this PKCS1Paddinger) UnPadding(cipherText []byte, opt crypto.IOption) ([]byte, error)

UnPadding 补码模式 / unpadding type

Jump to

Keyboard shortcuts

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