Esempio 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));
 }
Esempio 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));
 }
Esempio n. 3
0
 public static bool verifyChecksum(byte[] raw)
 {
     return(NewCrypt.verifyChecksum(raw, 0, raw.Length));
 }