//>>built
define("dojox/encoding/digests/_base",["dojo/_base/lang"],function(c){c=c.getObject("dojox.encoding.digests",!0);c.outputTypes={Base64:0,Hex:1,String:2,Raw:3};c.addWords=function(b,d){var a=(b&65535)+(d&65535);return(b>>16)+(d>>16)+(a>>16)<<16|a&65535};c.stringToWord=function(b){for(var d=[],a=0,c=8*b.length;a<c;a+=8)d[a>>5]|=(b.charCodeAt(a/8)&255)<<a%32;return d};c.wordToString=function(b){for(var d=[],a=0,c=32*b.length;a<c;a+=8)d.push(String.fromCharCode(b[a>>5]>>>a%32&255));return d.join("")};
c.wordToHex=function(b){for(var d=[],a=0,c=4*b.length;a<c;a++)d.push("0123456789abcdef".charAt(b[a>>2]>>8*(a%4)+4&15)+"0123456789abcdef".charAt(b[a>>2]>>8*(a%4)&15));return d.join("")};c.wordToBase64=function(b){for(var d=[],a=0,c=4*b.length;a<c;a+=3)for(var f=(b[a>>2]>>8*(a%4)&255)<<16|(b[a+1>>2]>>8*((a+1)%4)&255)<<8|b[a+2>>2]>>8*((a+2)%4)&255,e=0;4>e;e++)8*a+6*e>32*b.length?d.push("="):d.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(f>>6*(3-e)&63));return d.join("")};
return c});