Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [chacha20]

ChaCha20 is a stream cipher (closely related to Salsa20) which when coupled with the Poly1305 MAC, serves as an alternative to AES (AES_GCM).

Filter by
Sorted by
Tagged with
3
votes
1answer
130 views

An alternative for /dev/urandom

I like to overwrite my harddisk with random data. Since /dev/urandom as source is too slow to overwrite a large amount of data in a reasonable time, I'm looking for a good alternative. These two ...
0
votes
1answer
101 views

When encrypting password hashes, how to handle nonces?

I know that encrypting password hashes is a contentious issue. However, I have seen it recommended in some quarters. I know for instance that DropBox did this at one time with AES256. In these cases, ...
2
votes
1answer
184 views

Bluetooth low energy encryption using chacha20-poly1305

The BLE data is encrypted using AES-CCM. the TLS1.3 removed AES-CCM from the cipher-suits due to security issue. My question : why don't they encrypt the BLE using chacha20-poly1205 ? is it because ...
2
votes
1answer
263 views

Are there reliable Linux ChaCha20-Poly1305 implementations available for stream encryption?

I'd currently encrypt a stream by piping it through the following command: openssl enc -aes-256-cbc -pass file:/[keyfile path] Is there a reliable implementation of ChaCha20-Poly1305 that I can use ...
1
vote
1answer
484 views

How to synchronize a nonce between two participants?

I am currently working with a symmetric algorithm which requires a nonce for encryption, and logically for decryption as well. However, I am a bit confused about how I would go and synchronize the ...
2
votes
2answers
160 views

Token generation and random numbers

I have a swift server, where currently authentication is handled through a simple email+hashed password combination. I want to replace this with an access token ( + expiration ) so I can remove the ...