Hacker News new | ask | show | jobs
by sarciszewski 3944 days ago
Using libsodium, there are two routes you can go:

    - crypto_box() for authenticated public-key encryption
    - crypto_box_seal() for anonymous public-key encryption
      (with message authentication)
I know for a fact that there are JS bindings for libsodium.

http://doc.libsodium.org/bindings_for_other_languages/index....

For PHP developers:

https://github.com/paragonie/pecl-libsodium-doc/blob/master/...

https://github.com/paragonie/pecl-libsodium-doc/blob/master/...