Cryptography How do ciphers like ChaCha20 operate on 32 bit words? |
How do ciphers like ChaCha20 operate on 32 bit words? Posted: 23 Sep 2018 12:19 PM PDT Lately, I've been trying to wrap my head around how ChaCha20 operates. One thing I simply can't understand. How does ChaCha20 do 32 bit math? I attempted to recreate a ChaCha construction but since my input is 8 bits wide I always end up having to & 0xff to xor a 32 bit value with the 8 bit value. Does ChaCha read in a 32 bit block and then operate on it or is the input 8. Since the C type is uint32 I'd imagine it's 32 bit but even that's confusing to me. I apologize for being a newb in this area but I do need some assistance unraveling this dilemma in my head. One could also illustrate with another 32 bit cipher. [link] [comments] |
Question about "Tomb" file encryption on GNU/Linux. Posted: 23 Sep 2018 05:54 AM PDT I am not an expert of cryptography so I would like to check that what I am doing is secure. I have been using the bash script "tomb" for some time. The software's official website is here: https://www.dyne.org/software/tomb/ and the source code can be found on GitHub here: https://github.com/dyne/Tomb I am currently keeping my encrypted data along with the key together on my own machine. The encrypted data requires both the key file and a passphrase to decrypt. I understand that the creators of the software want to encourage users to keep their data and key file separate. My question is, by keeping the encrypted data and the key together, is the security of my data equivalent to the security of the passphrase I have chosen? Only myself and my wife have committed the passphrase to memory. I plan on copying the encrypted data plus the key file to multiple hard drives, USB sticks, smart phones and even online cloud storage and web mail providers. (Kerckhoff's principle says I should not fear this right?) Of course, I want to ensure that without the passphrase an attacker will be unable to decrypt the data. [link] [comments] |
You are subscribed to email updates from Cryptography news and discussions. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment