Skip to content
Subin Siby edited this page Sep 6, 2014 · 1 revision

Description

Encrypts a string that can be decrypted later

Configuration

This function can be found at inc/class.open.php file file. It contains a $key variable which is used as the salt for encryption. This key value should not exceed 25 characters.

Parameters

$value - The string to encrypt

Usage

<?php
echo $OP->encrypt("open.subinsb.com");
?>

Returns

The encrypted string. The length of the output may vary according to the input string.

Clone this wiki locally