Skip to content

Toy implementation of a one-time pad

License

Notifications You must be signed in to change notification settings

WillOnGit/otp-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plausible OTP

For now this is just a basic one-time pad (OTP) implementation in C, described below. This will be disguised in a larger program where it can be plausibly denied to be a deliberate one-time pad. The README in docs describes the planned "cover" functionality.

One-time pad

Once built (make), simply run otp messagefile keyfile newkeyfile. Output is to stdout and the unused portion of the key is written to newkeyfile. So if messagefile is 100 bytes long and keyfile is 500 bytes then otp messagefile keyfile newkeyfile will write the last 400 bytes of keyfile to newkeyfile.

About

Toy implementation of a one-time pad

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published