One-time pad: Difference between revisions

m
letters only
m (letters only)
Line 1:
{{draft task}} [[Category:Encryption]] [[Category:File_handling]]
Implement a [[wp:One-time pad|One-time pad]], for encrypting and decrypting messages.<br>
To keep it simple, we will be using letters only.
 
;Sub-Tasks:
* generate'''Generate''' the data for a One-time pad (user needs to specify a filename and length)
: The important part is to get "true random" numbers, e.g. from /dev/random
* '''encryption / decryption''' ( basically the same operation, much like [[Rot-13]] )
: For this step, much of [[Vigenère cipher]] could be reused,<br>with the key to be read from the file containing the One-time pad.
* optional: '''management''' of One-time pads: list, mark as used, delete, etc.
: Somehow, the users needs to keep track which pad to use for which partner.
 
To support the management of pad-files:
* suchSuch files have a file-extension ".otp"
* linesLines starting with "#" may contain arbitary meta-data (i.e. comments)
* linesLines starting with "-" count as "used"
* whitespaceWhitespace within the otp-data is ignored
<!--
maybe support for otp-files on readonly-media,
i.e. an indexfile that stores which parts have been used
-->
 
 
Anonymous user