C# Class CTR.KeyScrambler

Show file Open project: SciresM/CTRKeyScrambler

Public Properties

Property Type Description
SecretConstant byte[]

Public Methods

Method Description
GetNormalKey ( byte KeyX, byte KeyY ) : byte[]

Private Methods

Method Description
RotateLeft ( byte input, int shift ) : byte[]
RotateRight ( byte input, int shift ) : byte[]
ToUnsignedBigInteger ( byte data ) : System.Numerics.BigInteger
XOR ( byte arr1, byte arr2 ) : byte[]

Method Details

GetNormalKey() public static method

public static GetNormalKey ( byte KeyX, byte KeyY ) : byte[]
KeyX byte
KeyY byte
return byte[]

Property Details

SecretConstant public static property

public static byte[] SecretConstant
return byte[]