This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dojotoolkit:passwordvalidation [2014/03/24 21:05] tschulz created |
dojotoolkit:passwordvalidation [2014/03/25 08:38] tschulz [dojox.encoding.digests] |
||
---|---|---|---|
Line 2: | Line 2: | ||
===== Password Validator ===== | ===== Password Validator ===== | ||
- | <file> | + | <file html> |
<!DOCTYPE html> | <!DOCTYPE html> | ||
<html > | <html > | ||
Line 30: | Line 30: | ||
- | [[http://example.com|External Link]] | + | [[http://dojotoolkit.org/reference-guide/1.9/dojox/form/PasswordValidator.html|dojox.form.PasswordValidator]] |
+ | |||
+ | ===== dojox.encoding.digests ===== | ||
+ | |||
+ | * dojox.encoding.digests.MD5 | ||
+ | * dojox.encoding.digests.SHA1 | ||
+ | |||
+ | <file javascript> | ||
+ | require(["dojox/encoding/digests/MD5"]); | ||
+ | var src_string = "hello world"; | ||
+ | var digest = dojox.encoding.digests.MD5(src_string, dojox.encoding.digests.outputTypes.Hex); | ||
+ | </file> | ||
+ | |||
+ | [[http://dojotoolkit.org/reference-guide/1.9/dojox/encoding/digests.html|dojox.encoding.digests]] |