libwc24crypt

package module
v0.0.0-...-b7fc8ee Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MIT Imports: 11 Imported by: 2

README

libwc24crypt

Decrypts and Encrypts WiiConnect24 files

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptWC24

func DecryptWC24(contents []byte, key []byte) ([]byte, error)

DecryptWC24 decrypts a WiiConnect24 file.

func EncryptWC24

func EncryptWC24(contents []byte, key []byte, iv []byte, rsaData []byte) ([]byte, error)

Types

type WC24File

type WC24File struct {
	Magic     [4]byte
	Version   uint32
	Padding   uint32
	CryptType uint8
	Padding1  [35]byte
	IV        [16]byte
	Signature [256]byte
}

WC24File represents the header of an encrypted WC24 File

Jump to

Keyboard shortcuts

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