@PostMapping("imageUpload")publicAjaxResult imageUpload(@RequestBody CropsImageVo cropsImageVo)throwsFileNotFoundException {//替换掉部分图片字符串信息String imageBase64 = cropsImageVo.getImageBase64().replace("data:image/jpeg;base64,", "");//System.out.println(imageBase64);//保存图片并返回图片...
string s = "你的字符串";byte[] results = MD5.Create().ComputeHash(Encoding.UTF8.GetBytes(s));string r = Convert.ToBase64String(results); //得到MD5摘要值。Console.WriteLine(r);Console.ReadKey();