src/Encryption/FastEncrypt.php
/**
	 * @param string $data The text to encrypt.
	 */
@param string $data The text to encrypt.
@param string $data The text to encrypt .
public static function encrypt($data) {
		$iv = self::generateIV();
		$cipher = self::generateCipher($iv);
		$data = $cipher->encrypt($data);
		return $iv . $data;
	}
public static function encrypt ( $ data ) { $ iv = self :: generateIV ( ) ; $ cipher = self :: generateCipher ( $ iv ) ; $ data = $ cipher -> encrypt ( $ data ) ; return $ iv . $ data ; }
@param string $data The text to encrypt.
@param string $data The text to encrypt .