saltstack / libnacl

Python ctypes wrapper for libsodium
Apache License 2.0
81 stars 62 forks source link

how to use a specific algorithm #125

Closed rofl0r closed 1 year ago

rofl0r commented 4 years ago

i'd like to use e.g. crypto_box_curve25519xsalsa20poly1305 rather than just crypto_box so i know what i get.

thatch45 commented 1 year ago

Does the aead module satisfy your needs? If not we would love to get another module specifically with crypto_box_curve25519xsalsa20poly1305

thatch45 commented 1 year ago

I added classes not only for AEAD for specific modules, but also added a kx module allong for easy key exchange encryption using AEAD and can choose between chacha, xchacha and aesgcm