org.jeecg.common.util.encryption.EncryptedString Java Examples

The following examples show how to use org.jeecg.common.util.encryption.EncryptedString. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LoginController.java    From jeecg-cloud with Apache License 2.0 5 votes vote down vote up
/**
 * 获取加密字符串
 * @return
 */
@GetMapping(value = "/getEncryptedString")
public Result<Map<String,String>> getEncryptedString(){
	Result<Map<String,String>> result = new Result<Map<String,String>>();
	Map<String,String> map = new HashMap<String,String>();
	map.put("key", EncryptedString.key);
	map.put("iv",EncryptedString.iv);
	result.setResult(map);
	return result;
}
 
Example #2
Source File: LoginController.java    From jeecg-boot-with-activiti with MIT License 5 votes vote down vote up
/**
 * 获取加密字符串
 * @return
 */
@GetMapping(value = "/getEncryptedString")
public Result<Map<String,String>> getEncryptedString(){
	Result<Map<String,String>> result = new Result<Map<String,String>>();
	Map<String,String> map = new HashMap<String,String>();
	map.put("key", EncryptedString.key);
	map.put("iv",EncryptedString.iv);
	result.setResult(map);
	return result;
}
 
Example #3
Source File: LoginController.java    From teaching with Apache License 2.0 5 votes vote down vote up
/**
 * 获取加密字符串
 * @return
 */
@GetMapping(value = "/getEncryptedString")
public Result<Map<String,String>> getEncryptedString(){
	Result<Map<String,String>> result = new Result<Map<String,String>>();
	Map<String,String> map = new HashMap<String,String>();
	map.put("key", EncryptedString.key);
	map.put("iv",EncryptedString.iv);
	result.setResult(map);
	return result;
}
 
Example #4
Source File: LoginController.java    From jeecg-boot with Apache License 2.0 5 votes vote down vote up
/**
 * 获取加密字符串
 * @return
 */
@GetMapping(value = "/getEncryptedString")
public Result<Map<String,String>> getEncryptedString(){
	Result<Map<String,String>> result = new Result<Map<String,String>>();
	Map<String,String> map = new HashMap<String,String>();
	map.put("key", EncryptedString.key);
	map.put("iv",EncryptedString.iv);
	result.setResult(map);
	return result;
}