Commit 4f407455 authored by David Burke's avatar David Burke

Last version didn't work - no damn clue why. Trying again

parent e1bf817b
......@@ -103,8 +103,8 @@ export class Common {
return this.Uint8ArrayToJavaByteArray(jsBytes);
}
/** Remove excess 0 bytes from Java array. libsodium requires you to know the original message length
* when decrypting. However libsodium.js doesn't force you to know this. So we just make it extra big and
/** Remove excess 0 bytes from Java array. libsodium requires you to know the original message length
* when decrypting. However libsodium.js doesn't force you to know this. So we just make it extra big and
* trim the excess 0's. If you know a better way please let us know.
*/
private static trimJavaBytes(input: JavaBytes): JavaBytes {
......
{
"name": "nativescript-libsodium",
"version": "1.0.2",
"version": "1.0.3",
"description": "Use libsodium in Nativescript with libsodium.js like wrappers.",
"main": "libsodium",
"typings": "index.d.ts",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment