I need a PHP function, AES256_encode($dataToEcrypt) to encrypt the $data into AES-256 and another one AES256_decode($encryptedData) do the opposite. Does anyone know what code should this functions have?
AES256_encode($dataToEcrypt)
$data
AES256_decode($encryptedData)