New answers tagged

5 votes
Accepted

AES vs Kuznechik (GOST R 34.12-2015) comparsion

Which algorithm is more crypto-resistant: AES or Kuznechik No one knows (or, at least, is willing to say publicly); for both, the best published attacks take a completely and unutterably huge amount ...
user avatar
  • 134k
0 votes

How to create and send a symmetric key using GPG

The wikipedia page referenced by @Elias explains the concept of first establishing public key communication, before any symmetric key exchange and communication. In practical terms, using the gpg ...
user avatar
-1 votes

Would a "Triple AES" (in the sense of how Triple Des works) serve for a dramatic increase in safety?

Key/IV chosen from private, secured pool of keys chosen based on a supplied date and time, never repeating the key and IV (Think TKIP). Old packet can be discarded and replay attacks are easy to ...
user avatar
0 votes

encrypting a document with 2 different keys

Pretty much all encryption using public cryptography support this. When you are encrypting a file F with the Public keys of Bob and Alice, the encrypted file actually contains: Encryption of random ...
user avatar
  • 476
1 vote

Use blake2 permutation as a block cipher

The BLAKE2b keyed permutation is not an ideal cipher. For $2^{64}$ "weak" keys consisting of the same word $k$ repeated $16$ times, it is elementary to distinguish it from a random ...
user avatar
  • 11.7k
3 votes

Can raw hash be used as secret key

Yes, the output of Argon2 is safely usable as a symmetric key, as long as it is not used for anything else it is of size equal to the key size both the Argon2 output and symmetric key are unencoded, ...
user avatar
  • 125k
1 vote

Can cryptographically secure randomness be used to implement one time pad?

No. One time pads have to be generated from a physical entropy sources like diodes, radioactivity, e.t.c. You are only creating a stream cipher if you use the secrets module as that draws upon an ...
user avatar
2 votes

Use blake2 permutation as a block cipher

To answer question 1, we don't know whether that will be a secure construction. Just because the compression function of a hash function is secure when using it as a hash function doesn't mean it's ...
user avatar
  • 1,712

Top 50 recent answers are included