crypto

package
v0.0.0-...-6b96f8f Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultAESKey = "11111111222222223333333344444444"

DefaultAESKey is the AES encryption key used by Demon's Souls.

Clearly, they were very security conscious...

Variables

This section is empty.

Functions

This section is empty.

Types

type Decrypter

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

Decrypter is an AEA request decrypter.

func NewDecrypter

func NewDecrypter(key string) (d *Decrypter, err error)

NewDecrypter returns a new request decrypter.

func (*Decrypter) Decrypt

func (d *Decrypter) Decrypt(enc []byte) []byte

Decrypt returns a byte slice containing the decrypted contents of the AES encrypted enc.

Jump to

Keyboard shortcuts

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