https://github.com/nsjames/Extension-Streams/blob/master/src/EncryptedStream.ts use Asymmetric encryption to transfer the key. And use AES to cryto the message.
https://github.com/nsjames/Extension-Streams/blob/master/src/EncryptedStream.ts
use Asymmetric encryption to transfer the key.
And use AES to cryto the message.