I am using libsodium for cryptography and I want to use SRP for key exchange. The wikipedia page lists a python example, but I am not sure if and how I could convert this to libsodium function calls.

Is it possible or would I need to implement some operations myself?

  • It doesn't look like SRP is natively supported by libsodium, and as it is its own protocol, I would tend to down that it could be implemented entirely using libsodium function calls. You may want to look at pythonhosted.org/srp/srp.html
    – forest
    Jan 26, 2018 at 5:43


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.