Hacker GitHub

← All repos

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

Mentions per year 3 mentions · busiest year 2015 (3)
20082026
  1. …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…
  2. 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…