mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 04:28:35 +00:00
omg trevor
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user