kopia lustrzana https://github.com/ryukoposting/Signal-Android
omg trevor
rodzic
27b5bf54cc
commit
084f27a2e8
|
@ -55,7 +55,7 @@ public class Curve25519 {
|
|||
}
|
||||
|
||||
static byte[] calculateSignature(ECPrivateKey privateKey, byte[] message) {
|
||||
byte[] random = getRandom(32);
|
||||
byte[] random = getRandom(64);
|
||||
return calculateSignature(random, ((DjbECPrivateKey)privateKey).getPrivateKey(), message);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue