enigma

package
v1.0.4025 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

Enigma The key argument should be 13 bytes.

Functions

This section is empty.

Types

type EncryptEnigma

type EncryptEnigma struct{}

Enigma key is 13 bytes.

func (EncryptEnigma) Decrypt

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

解密 / Decrypt

func (EncryptEnigma) Encrypt

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