mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 02:25:19 +00:00
omg trevor
This commit is contained in:
parent
27b5bf54cc
commit
084f27a2e8
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user