6

I am developing a post quantum safe GPG like program, is argon2 quantum safe cryptographically for GPG like application.

1 Answers1

4

Simply put, it should be because it's based on BLAKE2b, it's memory hard, and symmetric cryptography is relatively unaffected by quantum computing since attacks can't be carried out efficiently compared to those for asymmetric cryptography (e.g. Grover's algorithm vs Shor's algorithm). The RFC states the following:

The collision and preimage resistance levels of Argon2 are equivalent to those of the underlying BLAKE2b hash function. To produce a collision, 2^(256) inputs are needed. To find a preimage, 2^(512) inputs must be tried.

The KDF security is determined by the key length and the size of the internal state of hash function H'. To distinguish the output of the keyed Argon2 from random, a minimum of (2^(128),2^length(K)) calls to BLAKE2b are needed.

That's enough not to worry.

samuel-lucas6
  • 1,783
  • 7
  • 17