note 71964 deleted from function.sha1 by nlopess

From: Date: Tue, 26 Dec 2006 21:55:13 +0000
Subject: note 71964 deleted from function.sha1 by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-120933@lists.php.net to get a copy of this message
Note Submitter: inf at pro-articles dot net ---- My Super Encryption: <?php function super_encrypt($string) // define function { $string = strrev($string); // reverse the string $string = str_rot13($string); // use the rotate13 encoding method $string = crc32($string); // encrypt with crc32 $string = md5($string); // encrypt with the MD5 method $string = strrev($string); // reverse the string $string = sha1($string); // encrypt with SHA-1 $string = base64_encode($string); // encode with base64 method return $string; // return the string } ?>

« previous php.notes (#120933) next »