Sindbad~EG File Manager

Current Path : /home/escuelai/www/mantis/library/adodb/session/
Upload File :
Current File : /home/escuelai/www/mantis/library/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;

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists