HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/xampp/php74-backup-20260910/pear/adodb/session/adodb-encrypt-sha1.php
<?php
if (!defined('ADODB_SESSION')) die();

include_once ADODB_SESSION . '/crypt.inc.php';


/**

 */

class ADODB_Encrypt_SHA1 {

	function write($data, $key) 
	{
		$sha1crypt = new SHA1Crypt();
		return $sha1crypt->encrypt($data, $key);

	}


	function read($data, $key) 
	{
		$sha1crypt = new SHA1Crypt();
		return $sha1crypt->decrypt($data, $key);

	}
}



return 1;
?>