//>>built
define("dojox/encoding/digests/SHA512",["./_sha-64"],function(a){var h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],g=function(c,d){var f=d||a.outputTypes.Base64;c=a.stringToUtf8(c);var b=a.digest(a.toWord(c),8*c.length,h,512);switch(f){case a.outputTypes.Raw:return b;case a.outputTypes.Hex:return a.toHex(b);case a.outputTypes.String:return a._toString(b);default:return a.toBase64(b)}};
g._hmac=function(c,d,f){f=f||a.outputTypes.Base64;c=a.stringToUtf8(c);d=a.stringToUtf8(d);var b=a.toWord(d);16<b.length&&(b=a.digest(b,8*d.length,h,512));var g=Array(16);d=Array(16);for(var e=0;16>e;e++)g[e]=b[e]^909522486,d[e]=b[e]^1549556828;c=a.digest(g.concat(a.toWord(c)),512+8*c.length,h,512);a.digest(d.concat(c),672,h,512);switch(f){case a.outputTypes.Raw:return b;case a.outputTypes.Hex:return a.toHex(b);case a.outputTypes.String:return a._toString(b);default:return a.toBase64(b)}};return g});
//@ sourceMappingURL=SHA512.js.map