square

package
v1.0.3021 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Square = crypto.TypeMultiple.Generate()

Square The key argument should be 16 bytes.

Functions

This section is empty.

Types

type EncryptSquare

type EncryptSquare struct{}

The key argument should be 16 bytes.

func (EncryptSquare) Decrypt

func (this EncryptSquare) Decrypt(data []byte, opt crypto.IOption) ([]byte, error)

解密 / Decrypt

func (EncryptSquare) Encrypt

func (this EncryptSquare) Encrypt(data []byte, opt crypto.IOption) ([]byte, error)

加密 / Encrypt

Jump to

Keyboard shortcuts

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