If I have a compromised random source and a cryptographically secure one, is hashing them together makes a cryptographically secure random output?
Example:
The compromised random output: ABC
The cryptographically secure random output: DEF
Hashing them together:
printf 'ABCDEF' | sha512sum
569350085b223ba854dfc5d607643ceb85e4607e46e5a9ad3696f898e29d8a3fe22610956167cefb7e2ba769e740f94b31e4e3c52195ba65e64ba40d82343591
Is this hash a cryptographically secure random output?
If I am not clear enough, please ask and I will update the question.