cast256

package
v1.0.5007 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

Cast256 The key argument should be 32 bytes.

Functions

This section is empty.

Types

type EncryptCast256

type EncryptCast256 struct{}

Cast256 key is 32 bytes.

func (EncryptCast256) Decrypt

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

解密 / Decrypt

func (EncryptCast256) Encrypt

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