mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-25 10:02:15 -05:00
113 lines
16 KiB
HTML
113 lines
16 KiB
HTML
<html>
|
|
<body>
|
|
|
|
<script>
|
|
|
|
//JSZip = { compressions : {} };
|
|
zip = {} ;
|
|
|
|
</script>
|
|
|
|
<script src="inflate.js"></script>
|
|
<script src="deflate.js"></script>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
function zip_inflate(b)
|
|
{
|
|
var i, a, res, inflater;
|
|
|
|
var a = new Uint8Array(b.length);
|
|
for (i=0; i<b.length; ++i)
|
|
a[i] = b.charCodeAt(i);
|
|
|
|
var inflater = new zip.Inflater();
|
|
res = inflater.append(a);
|
|
|
|
var str = "";
|
|
for (var i=0; i<res.length; i++) {
|
|
str += String.fromCharCode(res[i])
|
|
}
|
|
|
|
return str;
|
|
}
|
|
|
|
function zip_deflate(b)
|
|
{
|
|
var i, a, res, inflater;
|
|
|
|
var a = new Uint8Array(b.length);
|
|
for (i=0; i<b.length; ++i)
|
|
a[i] = b.charCodeAt(i);
|
|
|
|
var inflater = new zip.Deflater();
|
|
inflater.append(a);
|
|
res = inflater.flush();
|
|
|
|
var str = "";
|
|
for (var i=0; i<res.length; i++) {
|
|
str += String.fromCharCode(res[i])
|
|
}
|
|
|
|
return str;
|
|
}
|
|
|
|
function test ()
|
|
{
|
|
var ref64s = [
|
|
btoa("this will work yes it will"), // but the next one won't
|
|
"AAAAAzEuMAAAAAEBAAAPfHicbZnHjuNKtkX/Jae8ePSugR7QeyPRiWz0gCJFJ3pSdI3+96e6XVRlATXMFBZOmBMRe0n/+Voe41R27dc/vuD/g77++kofWdmW89//+s9XGzeP90dj181f//3r61Wm9dc//vWvr7Rediwr5FyAGb51FmNU73i4wgDRyhzh88N9alCcE5eR+ufXXzCKoyRBEBQJQdC///rX10ER4FXGXmAFCesdNyD3KGP+QnW0DNTzvOUXgYhRLF6854lTGI3iP/G5RBiMt9MRUul1NjohreTCnrvVJn37XpQLlsuApahXPPmJvytT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FumG+M/RrjmPktH3tUdWWUkWX3gF49K+pnkje5y1AKuVIPKRz7ZsjhwVgQY60LTaM3mZnqMfKOZzwrJWCMQnc+sUa7iRZBvvpkQiA56YTnDZXbdyuS8yg3XstCTtLnOzI6vSlYRguSWae0zEo/jPgVmuk6hMWM1MPyOVTIkS0PVRODsdpxeJ07PwU1DMiECkm8iuiqjCX8VcOdIUCLnPfE/G8dS04R7kowYg+h1sXMI9u63hWSqcgKNDY87sbFEoRGoHBFEOAwUvzWSVTB0kjasA8LVpQD3qb/JVv0jX/uSMcOQfFt6rx/lXJh6Aow0jKDyBk4GnzSxbEuVTPhzkx987e7Ion1OqAnbogqOKKzihd9wy4y7mENpKtWYCn0nJvnEsYGd6Vwyq4ZWc7ZGuDVJJnYokxNdCGisafTyIuBLwQrJ+GtVH9xrhy3Tm7UbVCbHnBNec5genCTolmUHLlVFWMiJId6eFfognK7NLybVrjAK6xAOaJa97abduw8s2PfETJRq+8EkW759s6ozOHtGg/S4zy+52wKunr8GT9Cz04NNw95mLpnhal9qZrh5X14P1ikSwFW8DiNpuUl637pXdy7PxlqVoOZxM+rfrLV6650kMyr33Du+ve48ls0DmRxTIWCgLHXcwB4mtlNIRqqsfIyYc4r7eHyAyqtQTfa9yP1+a7Po7CgkF1x9zvPJ0y0NR52P7cWaAD8eIfDh7rb2Fxerw3oVCRdUJ3AtScdbotwaGjY0Vv05aOJ59u+//wAAAAAA"
|
|
];
|
|
|
|
var i;
|
|
for (i=0; i<ref64s.length; ++i)
|
|
{
|
|
var ref64 = ref64s[i];
|
|
|
|
var level
|
|
for (level=0; level<9; ++level)
|
|
{
|
|
console.log("testing level " + level);
|
|
|
|
// var zip_inflate = JSZip.compressions["DEFLATE"].uncompress;
|
|
// var zip_deflate = JSZip.compressions["DEFLATE"].compress;
|
|
|
|
// console.log(ref64);
|
|
|
|
var ref = atob(ref64);
|
|
// console.log(ref);
|
|
|
|
var zipped = zip_deflate(ref, level);
|
|
// console.log(zipped);
|
|
|
|
var unzipped = zip_inflate(zipped);
|
|
// console.log(unzipped);
|
|
|
|
var binMatches = ref == unzipped;
|
|
if (binMatches)
|
|
console.log("binary matches, yay");
|
|
else
|
|
console.log("binary doesn't match, boo");
|
|
|
|
var unzipped64 = btoa(unzipped);
|
|
// console.log(unzipped64);
|
|
|
|
var b64Matches = ref64 == unzipped64;
|
|
if (b64Matches)
|
|
console.log("b64 matches, yay");
|
|
else
|
|
console.log("b64 doesn't match, boo");
|
|
|
|
// console.log("put a break point here");
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<body>
|
|
<button onclick="test();">click me and open the debugger</button>
|
|
</body>
|
|
</html>
|