mars

package
v1.0.4008 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

Mars The key argument should be 16, 24, 32 bytes.

Functions

This section is empty.

Types

type EncryptMars

type EncryptMars struct{}

Mars key is 16, 24, 32 bytes.

func (EncryptMars) Decrypt

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

解密 / Decrypt

func (EncryptMars) Encrypt

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