encrypt() encrypt(mixed $data, string $key) : mixed Encrypt data with key Parameters mixed $data the data need to be encrypted string $key encrypt key Returns mixed — encrypted data
decrypt() decrypt(mixed $data, string $key) : mixed Decrypt data with key Parameters mixed $data encrypted data string $key encrypt key Returns mixed — data after decrypt