This commit is contained in:
morrigan
2019-11-26 15:24:10 +01:00
parent 2af4c744df
commit fa33cdcd44
4 changed files with 46 additions and 34 deletions

View File

@ -89,6 +89,8 @@ export class Handshake {
const receivedMessageBuffer = (await this.connection.readLP()).slice();
const plaintext = await this.xx.recvMessage(session, decodeMessageBuffer(receivedMessageBuffer));
}
console.log("FINISHED HANDSHAKE, is initiator: ", this.isInitiator);
}
encrypt(plaintext: bytes, session: NoiseSession): bytes {