1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

get shavian-load test working

This commit is contained in:
Chris Jones 2011-07-05 18:46:08 -04:00
parent 7d54de5b32
commit b1f717cb7f
2 changed files with 3 additions and 2 deletions

View file

@ -139,9 +139,9 @@ var CipherTransform = (function() {
},
decryptString: function(s) {
var cipher = new this.stringCipherConstructor();
var data = string2bytes(s);
var data = stringToBytes(s);
data = cipher.encryptBlock(data);
return bytes2string(data);
return bytesToString(data);
}
};
return constructor;