update page now

Voting

: min(eight, six)?
(Example: nine)

The Note You're Voting On

synnus at gmail dot com
10 years ago
// rivencodec 1.0
// encode riverse ascii 1 simple function can encode/decode 
// can use it for secure source with speed encode text

<?php

    function rivencodec($ch,$a=0) {
        while((@$b = $ch[$a++])) { $ch[$a-1] = chr(255-ord($b)); }
        return $ch;
    }
        
    
$zz = rivencodec("abcdefghijklmn");
echo 'encode: ',$zz,'<br/>',PHP_EOL;

$yy = rivencodec($zz);
echo 'decode: ',$yy,'<br/>',PHP_EOL;

?>

<< Back to user notes page

To Top