omg trevor

This commit is contained in:
Moxie Marlinspike 2014-07-26 13:32:36 -07:00
parent 27b5bf54cc
commit 084f27a2e8

View File

@ -55,7 +55,7 @@ public class Curve25519 {
} }
static byte[] calculateSignature(ECPrivateKey privateKey, byte[] message) { static byte[] calculateSignature(ECPrivateKey privateKey, byte[] message) {
byte[] random = getRandom(32); byte[] random = getRandom(64);
return calculateSignature(random, ((DjbECPrivateKey)privateKey).getPrivateKey(), message); return calculateSignature(random, ((DjbECPrivateKey)privateKey).getPrivateKey(), message);
} }