是SimpleCrypto DLL是好的,我可以在真实系统依靠加密密码?
var crypto = new SimpleCrypto.PBKDF2();
var encryptpass = crypto.Compute(Password);
Run Code Online (Sandbox Code Playgroud)
如果不是什么样的加密呢?
我只是想重新调整图像尺寸而不会失去质量我可以使用它吗?
[HttpPost]
public ActionResult Index(HttpPostedFileBase file)
{
WebImage img = new WebImage(file.InputStream);
if (img.Width > 1000)
img.Resize(1000, 1000);
img.Save("path");
return View();
}
Run Code Online (Sandbox Code Playgroud)
或WebImage调整大小但丢失图像质量?谢谢