Update Encrypt.php

Safely generate random IVs for encrypting data