Something went wrong. Try again.
.NET Standard 2.0 (.NET Framework 4.6.2+, .NET 5.0+) library for dealing with Xbox 360 cryptography.
Something went wrong. Try again.
Files
README.md
XeCryptSharp #
.NET Standard 2.0 (.NET Framework 4.6.2+, .NET 5.0+) library for dealing with Xbox 360 cryptography.
Implementation Checklist #
Examples #
See XeCryptSharp.CLI for more example code.
Signing data with a console private key #
// Load the file as a stream
FileStream fs = File.OpenStream("kv.bin");
// Read in the key vault data
XeKeyVault kv = new(fs);
// Create a .NET RSA handle
RSA rsa = RSA.Create();
// Load the private key from the key vault
rsa.ImportParameters(kv.GetConsoleRSAKey());
// Sign the data with the RSA private key
byte[] signature = rsa.SignData();
Array.Reverse(signature); // Makes it valid for XeCrypt
CLI #
available commands:
kvinfo [path/to/KV]
- displays info about a given keyvault
mcxcert [path/to/KV] [console MAC address] [output directory]
- generates Windows Media Center Extender certificates for a KV