Closed octplane closed 11 years ago
For ArrayBuffers please use:
var a = new Uint8Array(4);
// fill up with ASCII
a[0] = 65; a[1] = 66; a[2] = 67; a[3] = 68;
var arraySpark = new SparkMD5.ArrayBuffer();
arraySpark.append(a);
console.log("Array Spark: %s", arraySpark.end());
Oh Great, I thought the API was more magical than it is, that's better ! Thank you for the quick reply !
I decided to split them in two separate classes to avoid performance issues with type/flag checks.
Hi,
I've been playing with SparkMD5 a bit and I'm now facing some curious behavior from the library:
I was expecting the two values to be identical. Am I doing something wrong ?
From the other MD5 implementations available online, I'm expecting "cb08ca4a7bb5f9683c19133a84872ca7".