This commit is contained in:
callebtc
2025-07-19 19:32:16 +02:00
parent cdab3e9b97
commit c419e97968
@@ -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)