tuweni / org.apache.tuweni.scuttlebutt.handshake / SecureScuttlebuttHandshakeServer / readHello

readHello

fun readHello(message: Bytes!): Unit (source)

Validates the initial message's MAC with our network identifier, and returns the peer ephemeral public key.

Parameters

message - Bytes!: initial handshake message