Ejemplo n.º 1
0
 public bool decrypt(ref byte[] raw, int offset, int size)
 {
     _crypt.decrypt(ref raw, offset, size);
     return(NewCrypt.verifyChecksum(raw, offset, size));
 }
Ejemplo n.º 2
0
 public bool staticDecrypt(ref byte[] raw, int offset, int size)
 {
     _staticCrypt.decrypt(ref raw, offset, size);
     NewCrypt.decXORPass(ref raw);
     return(NewCrypt.verifyChecksum(raw, offset, size));
 }
Ejemplo n.º 3
0
 public static bool verifyChecksum(byte[] raw)
 {
     return(NewCrypt.verifyChecksum(raw, 0, raw.Length));
 }