News for hackers. Stuff that matters.
Re:Tanker: End-to-End Encryption SDK for JavaScript by dieblur on Wednesday May 22, 2019 @11:27AM (#19982232)
What algorithms? Pretty bare README for a cryptography project.
Re:Tanker: End-to-End Encryption SDK for JavaScript by blastrock on Wednesday May 22, 2019 @11:38AM (#19982335)
Tanker developer here. We use libsodium as our underlying cryptographic library. It uses XChacha20/Poly1305 for symmetric encryption, Curve25519 for asymmetric encryption and signature, and Blake2 for hashing.
Re:Tanker: End-to-End Encryption SDK for JavaScript by dieblur on Wednesday May 22, 2019 @02:22PM (#19983945)
Why would I use your library over the tried and true https://github.com/dchest/tweetnacl-js ?
Re:Tanker: End-to-End Encryption SDK for JavaScript by blastrock on Wednesday May 22, 2019 @03:10PM (#19984442)
TweetNaCl is roughly equivalent to libsodium, on which Tanker builds. Tanker is easier to integrate into your app because it takes care of key sharing, multi-devices, user group managment, etc. These are all things you would have to handle by yourself using just a cryptographic library like TweetNaCl.