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

please explain the exact making of the digest #18

Open aaannndddyyy opened 7 years ago

aaannndddyyy commented 7 years ago

Reading through the code comments I'm having a hard time understanding exactly which random bytes you use in the message digest and what else, if anything, you do with them. Could you please make the comment more clear?

kfogel commented 7 years ago

Thank you. Yes, I will improve the explanatory comments about this.

aaannndddyyy commented 7 years ago

After reading the code, I had a go at it in my branch. But you may well dislike my wording.