1 min readAug 24, 2018
Actually I am confused about how you are generating the privateKey. For example: In the encrypt() function you are generating the key pair ephemeralKeyPair, are you referring the ephemeralKeyPair.secretKey as the privateKey?
Thanks for the quick response!