New PHPencryption functions