ocb3

package
v1.0.3022 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

ocb3 nounce size, should be in [0, cipher.block.BlockSize]

Functions

This section is empty.

Types

type ModeOCB3

type ModeOCB3 struct{}

func (ModeOCB3) Decrypt

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

解密 / Decrypt

func (ModeOCB3) Encrypt

func (this ModeOCB3) 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