reklatsmasters / dnscrypt

dnscrypt - authenticated and encrypted dns client for nodejs
MIT License
14 stars 1 forks source link

Congrats :) #6

Open jedisct1 opened 4 years ago

jedisct1 commented 4 years ago

Just wanted to say congrats for this module! This is really good work!

Let me know if you need help with anything, regarding the protocol or something else (maybe a standalone xchacha20-poly1305 implementation?)

Cheers, -Frank.

reklatsmasters commented 4 years ago

@jedisct1 Thanks, Frank! It's nice to hear this from you! Yeah, standalone xchacha20-poly1305 implementation could really help. I did not find it in pure js or webassembly. The tweetnacl module supports only xsalsa20-poly1305

jedisct1 commented 4 years ago

There is a xchacha20 implementation, and tweetnacl exposes poly1305 (crypto_onetimeauth) and x25519 (crypto_scalarmult), so it's just a matter of combining these. I'll try to do that for you.