mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-25 20:05:21 +00:00
nice
This commit is contained in:
-10
@@ -548,16 +548,6 @@ public class HandshakeState implements Destroyable {
|
|||||||
symmetric.mixPublicKey(localKeyPair);
|
symmetric.mixPublicKey(localKeyPair);
|
||||||
}
|
}
|
||||||
// Log the symmetric.hash in hex:
|
// Log the symmetric.hash in hex:
|
||||||
byte[] currentHandshakeHash = symmetric.h;
|
|
||||||
if (currentHandshakeHash != null) {
|
|
||||||
StringBuilder hexString = new StringBuilder(currentHandshakeHash.length * 2);
|
|
||||||
for (byte b : currentHandshakeHash) {
|
|
||||||
hexString.append(String.format("%02X", b));
|
|
||||||
}
|
|
||||||
Log.d("TAG", "Initial Handshake Hash (h): " + hexString.toString());
|
|
||||||
} else {
|
|
||||||
Log.d("TAG", "Initial Handshake Hash (h): null");
|
|
||||||
}
|
|
||||||
|
|
||||||
// The handshake has officially started - set the first action.
|
// The handshake has officially started - set the first action.
|
||||||
if (isInitiator)
|
if (isInitiator)
|
||||||
|
|||||||
Reference in New Issue
Block a user