cryption

package
v0.0.0-...-cc3e003 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: GPL-3.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EncryptionIv = []byte("")
View Source
var EncryptionKey = []byte("vMdkkY8bfVmUS6qr") // encryption key in Assembly-CSharp

var EncryptionKey = []byte("Ec7bLaTdSuXuf5pW") // encryption key in UnmanagedProcess

Functions

func B64Decode

func B64Decode(s string) ([]byte, error)

func B64Encode

func B64Encode(b []byte) string

func CleanBytes

func CleanBytes(b []byte) []byte

func Decrypt

func Decrypt(content, key, iv []byte) []byte

func Encrypt

func Encrypt(content, key, iv []byte) []byte

func GetReceivedMessage

func GetReceivedMessage(r *http.Request) ([]byte, error)

func PKCS5Padding

func PKCS5Padding(ciphertext []byte, blockSize int) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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