Image “encryption”

Can images be encrypted? Well, of course — what kind of question is that? Any file –any bitstream— can be encrypted. But encrypting a file (image or otherwise) turns it into random-looking garbage. Therefore, in a sense, an encrypted image file would cease to be an image file at all (e.g. you wouldn’t be able…

Continue reading →

A promising new PRNG (Pseudo Random Number Generator)

I’m no expert in the subject of PRNGs, but I find it quite interesting. Developers usually don’t give much thought to this and just use whatever rand(), random(), Math.random() function is available in their language of choice. And that’s fine for most purposes, but there are situations where (pseudo) randomness matters, and different algorithms may…

Continue reading →