mars2

package
v1.0.4033 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

Mars2 The key argument should be from 128 to 448 bits

Functions

This section is empty.

Types

type EncryptMars2

type EncryptMars2 struct{}

Mars key is 16, 24, 32 bytes.

func (EncryptMars2) Decrypt

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

解密 / Decrypt

func (EncryptMars2) Encrypt

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