0

Suppose I have the following secret, calculated by concatenating and hashing the results of two random strings:

secret = H( H( random_string1 ) || H( random_string2 ) )

Let's assume that the adversary knows one of these strings but not the other. In this case, can the adversary recover the secret in a practical manner?

Assume that H is a secure hash function like SHA-256.

0 Answers0