dimanche 10 octobre 2021

Is a hash from a picture taken from a camera truly random?

I'm currently taking a picture with a webcam, hashing (sha-512) the bytes output of that image. Is that a "true" random number generator? On the ent test, it performs badly. I suspect this is because it does not have any special characters, only letters and numbers. What hashing algorithm would be better suited for this than sha-512?




Aucun commentaire:

Enregistrer un commentaire