oor

package
v1.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XORCipher

type XORCipher struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewXORCipher

func NewXORCipher(key string) *XORCipher

简单的混淆加密 maxBufferLen 加密数据最大长度

func (*XORCipher) Decode

func (xor *XORCipher) Decode(src []byte) []byte

func (*XORCipher) Encode

func (xor *XORCipher) Encode(src []byte) []byte

Jump to

Keyboard shortcuts

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