crypto

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cypher

type Cypher struct {
	// contains filtered or unexported fields
}

func NewCypher

func NewCypher(cypher_key []byte, xor_key int32) *Cypher

func (*Cypher) Decrypt

func (this *Cypher) Decrypt(data []byte) (ret []byte)

func (*Cypher) Encrypt

func (this *Cypher) Encrypt(data []byte) []byte

func (*Cypher) Hide

func (this *Cypher) Hide(data []byte) []byte

Jump to

Keyboard shortcuts

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