Now I need a good replacement for
New browsers support
window.crypto.getRandomValues() but for older browsers I need something else.
I was thinking about recording some audio using HTML5 and calculating the sha 512-bit digest.
Then splitting this digest into two halfs and using them for AES 256-bit encryption (256-bit IV and 256-bit key) of a photo taken also with HTML5.
Is it safe to use this encrypted image as a replacement of
Which mode should I use for AES encryption?