0
$\begingroup$

I bought an HWRND last week. What do you think, how secure is the encryption with that and the OTP? (http://www.moonbaseotago.com/onerng/theory.html).

$\endgroup$
9
  • $\begingroup$ Added with OTP? How are you going to transfer that? $\endgroup$ – kelalaka Nov 17 '20 at 18:49
  • $\begingroup$ I want to read a random stream from the device and encrypt a file with this and the OTP. Every byte from file will XOR with every byte from the stream. $\endgroup$ – TheDummy Nov 17 '20 at 18:52
  • 1
    $\begingroup$ Then how are going to store the OTP key? Do you really know how the One Time Pad is working? $\endgroup$ – kelalaka Nov 17 '20 at 18:54
  • $\begingroup$ In my opinion a byte will XOR with a other byte. I can store the random bytes in a separate file. If I want to decrypt the file, Do the same with my random file and the cipher file. $\endgroup$ – TheDummy Nov 17 '20 at 18:58
  • 2
    $\begingroup$ I think the issue kelalaka is taking here is the fact that while you can use that RNG for OTP (-like) encryption this doesn't solve the issue that now you have an encrypted file and a key as large as that file and you now have the same problem as originally: You have sensitive data that you want to protect, but this time it's the OTP key instead of the plaintext. $\endgroup$ – SEJPM Nov 17 '20 at 19:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.