有没有一个工作的md5插件或等效的加密插件jQuery 1.3.2? [英] Is there a working md5 plugin or equivalent encryption plugin for jQuery 1.3.2?
问题描述
由于我正在使用CouchDB,实际上没有服务器代码,通常是这样计算的。
任何一种单向加密都可以工作。我看到一个旧的插件似乎不支持早期版本的jQuery。由于1.3和1.2似乎与我的经验大体上是不相容的,我想知道最新版本的jQuery是否有任何新的解决方案,甚至是纯旧的JavaScript。
谢谢!
你为什么要寻找一个jQuery 插件?在JavaScript中有多种实现MD5和SHA1可以将任何字符串转换成一个哈希字符串,并且可以很容易地与jQuery一起使用。
这是Google的第一个结果JavaScript sha1:
http: //www.webtoolkit.info/javascript-sha1.html
I'm storing my passwords on a server, and, using nothing but HTML/JavaScript, I need to be able to take an input password, compute the hash, then compare against what's in my database via Ajax.
As I'm using CouchDB, there's actually no server code, which is where I'd normally do such a calculation.
Any kind of one way encryption would work. I saw an old plugin that appears unsupported for an earlier version of jQuery. As 1.3 and 1.2 seem to be mostly incompatible from my experience, I wonder if there's any new solution to this problem for the latest version of jQuery, or even just plain old JavaScript.
Thanks!
Why are you looking for a jQuery plugin? There are multiple implementations of MD5 and SHA1 available in JavaScript that turn any string into a hash string and that can easily be used with jQuery.
Here is the first Google result for "JavaScript sha1":
http://www.webtoolkit.info/javascript-sha1.html
这篇关于有没有一个工作的md5插件或等效的加密插件jQuery 1.3.2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!