I have the following function that is written in php
function encrypt($string) { //Key $key = "5&^rf%$#"; //Encryption