<?
require_once('OBJ_CODEC.PHP');
$CODEC = new OBJ_CODEC();
$CODEC->PASSWORD = 'п';
$TEXT = 'Текст для шифрования';
print '<textarea cols="100" rows="10">';
$T = $CODEC->INTERFACE->EXEC('ENCODE', array('TEXT'=>$TEXT));
print $T."\n";
$T = $CODEC->INTERFACE->EXEC('DECODE', array('TEXT'=>$T));
print $T."\n";
print '</textarea>';
?>
|