kfogel / OneTime

An open source encryption program that uses the "one-time pad" method.
http://red-bean.com/onetime
32 stars 14 forks source link

online-mode? #21

Closed aaannndddyyy closed 7 years ago

aaannndddyyy commented 7 years ago

~Maybe there could be an (unauthenticated?) online mode where both sides invoke the program, and enter texts via stdin and upon pressing enter button get the encrypted text back.~ In online mode, the header is printed before the user enters the plain text. Expected result: an intact OneTime Message is put on the screen.

kfogel commented 7 years ago

Someone else can implement this as a wrapper around OneTime, if they want :-). I'd like to keep the core Python script as simple as possible.

aaannndddyyy commented 7 years ago

Ok, i changed it in my fork. It's not very nice, but it does the job for me. Though, maybe I will change it as to no require any header at all for using it in instant messaging.