lib/crapto: Introduce 2 new attacks on XOR ciphers