lvh / icecap

URL-based object capability system.
Eclipse Public License 1.0
5 stars 2 forks source link

Compare cryptographic options #4

Closed lvh closed 10 years ago

lvh commented 10 years ago

While the crypto namespace defines all the necessary protocols (KDF, encryption scheme), it hardly explores all the implementations for those options.

For example, we're currently using caesium in order to get libsodium's secretbox construct. That's great, but relies on libsodium being available. If we used buddy (which we already use because of it's URL-safe base64 implementation), we could still have a comparable cryptosystem (ChaCha20 + Poly1305), based on BouncyCastle instead of libsodium, and be JVM-only (no jnr-ffi).

lvh commented 10 years ago

For now, libsodium + caesium appears to be our best option for now: