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:
parent
7d54de5b32
commit
b1f717cb7f
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue