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

The following examples show how to use org.jeecg.common.util.encryption.EncryptedString. These examples are extracted from open source projects. 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 Project: jeecg-cloud   Source File: LoginController.java    License: 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 Project: jeecg-boot-with-activiti   Source File: LoginController.java    License: 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 Project: teaching   Source File: LoginController.java    License: 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 Project: jeecg-boot   Source File: LoginController.java    License: 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;
}