Decrypt a string with a specific key.
Use mCrypt if it is installed, else a basic algorithm.
	
	
	
		static string
		
			decrypt
		
					(string $string, [string $key = ''])
			
	
			
					- 
				string
				$string: the string to decrypt			
 
					- 
				string
				$key: the key used to decrypt. If not given, use the key indicated in the configuration			
 
				
		
			
	 
	
	 
	
	
Encrypt a string with a specific key
Use mCrypt if it is installed, else a basic algorithm.
	
	
	
		static string
		
			encrypt
		
					(string $string, [string $key = ''])
			
	
			
					- 
				string
				$string: the string to encrypt			
 
					- 
				string
				$key: the key used to encrypt. If not given, use the key indicated in the configuration			
 
				
		
			
	 
	
	 
	
	
Decrypt a string with mCrypt.
	
	
	
		static string
		
			mcryptDecrypt
		
					(string $string, [string $key = ''])
			
	
			
					- 
				string
				$string: the string to decrypt			
 
					- 
				string
				$key: the key used to decrypt string. If not given, use  the key indicated in the configuration			
 
				
		
			
	 
	
	 
	
	
Encrypt a string with mCrypt.
	
	
	
		static string
		
			mcryptEncrypt
		
					(string $string, [string $key = ''])
			
	
			
					- 
				string
				$string: the string to encrypt			
 
					- 
				string
				$key: the key used to encrypt string. If not given, use       the key indicated in the configuration			
 
				
		
			
	 
	
	 
	
	
Basic encrypt/decrypt algorithm.
	
	
	
		static string
		
			simpleCrypt
		
					(string $str, [string $key = ''])
			
	
			
					- 
				string
				$str: the string to encrypt/decrypt			
 
					- 
				string
				$key: the key used to encrypt/decrypt string (must be >= 8 characters).  If not given, use the key indicated in the configuration