Skip to content

Generates random text symmetric with whom you share any same file (used once to set rolling seeds file.) For unique codes no matter the file, set Unix_time_supplement to true.

Notifications You must be signed in to change notification settings

compromise-evident/rolling-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Run it: apt install g++ geany. Open the .cpp in Geany. Hit F9 once. F5 to run.



Seeds overwritten per roll

Seeds are 100 10-digit values strung together. Both the order of digits, and order of 10-digit values matters; guessing 100 correct 10-digit values is not enough, they must be ordered correctly. There's about 10^157 different ways to order 100 different items. Swapping or changing any digits or 10-digit strings in the seeds file, not only makes a difference in the code, but a complete difference--as if a hash.



For absolutely absurd cryptanalysis protection

Set absurd_protection_against_cryptanalysis to true. It writes only one of 1,000 items from randomness[ ] to file "Code" per round. It's very slow, and code_length_in_thousands simply becomes "actual code length." Whether or not you set it to true, if you don't want the code exposed, communicate only its hash.



Tools using RC

  • Authorship
  • passOTP
  • OTP


RAM garbage?

  • Unix_time_supplement randomness sprouts from Unix time and no longer supplemented with RAM garbage.

RAM on Linux is now zeroed when allocated and freed; there's no more garbage. init_on_alloc and init_on_free has hit most Linux distros and growing.

About

Generates random text symmetric with whom you share any same file (used once to set rolling seeds file.) For unique codes no matter the file, set Unix_time_supplement to true.

Resources

Stars

Watchers

Forks

Languages