pannous/xipher
View on GitHub ↗ ★ 63 C
🔒 Simple perfect xor encryption cipher 🔒
3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2015-01-24 · latest 2015-01-24
20082026
-
…but for some. This is because it chooses bytes from the file (function generate_random_offsets() at https://github.com/pannous/xipher/blob/master/encrypt.c ), then writes both the address of those bytes and the XOR'd value to the result of…
comment by swehner · 2015-01-24 · in Show HN: Write (almost) perfect encryption in an hour -
In regards to this comment: https://github.com/pannous/xipher/blob/b62a3b864d435a1e61066... : /dev/urandom isn't insecure. Both /dev/urandom and /dev/random use CSPRNG. There is a wonderful artical (with diagrams and all) at…
comment by binwiederhier · 2015-01-24 · in Show HN: Write (almost) perfect encryption in an hour -
▲ 14
Show HN: Write (almost) perfect encryption in an hourstory by singularity2001 · 2015-01-24 · 25 comments