Merge: Reworked crypto.nit to introduce basic XOR attacks
authorJean Privat <jean@pryen.org>
Tue, 24 May 2016 23:12:34 +0000 (19:12 -0400)
committerJean Privat <jean@pryen.org>
Tue, 24 May 2016 23:12:34 +0000 (19:12 -0400)
commit4578501dc39b0c5fcb0247491186dbbd51cd3f7a
treed0d4444260520d45d699bc6ecca975d974c240a4
parent23903dc4840e6bb35aab9e51bfe7a1ae5f97d4db
parentc876a2c009bcf3b06b8348d98f7ea85cd66fb600
Merge: Reworked crypto.nit to introduce basic XOR attacks

lib/crypto:
`crypto.nit` was getting pretty overwhelmed with the upcoming changes so it was exploded into a package.
Introduced classes for cipher management to help with attacks.

lib/crapto:
Introduced 2 attacks on basic XOR ciphers.

Pull-Request: #2080
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>