wrap

package
v1.0.4018 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Wrap = crypto.TypeMode.Generate()

Wrap

Functions

This section is empty.

Types

type ModeWrap

type ModeWrap struct{}

func (ModeWrap) Decrypt

func (this ModeWrap) Decrypt(data []byte, block cipher.Block, opt crypto.IOption) ([]byte, error)

解密 / Decrypt

func (ModeWrap) Encrypt

func (this ModeWrap) Encrypt(plain []byte, block cipher.Block, opt crypto.IOption) ([]byte, error)

加密 / Encrypt

Jump to

Keyboard shortcuts

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