react-native-libsodium icon indicating copy to clipboard operation
react-native-libsodium copied to clipboard

request for sodium.(crypto_hash_sha256 && crypto_hash_sha512)

Open vobu opened this issue 2 years ago • 3 comments

Hi, any chances that there could be support put in for

  • crypto_hash_sha256 → https://doc.libsodium.org/advanced/sha-2_hash_function#sha-256
  • crypto_hash_sha512 → https://doc.libsodium.org/advanced/sha-2_hash_function#sha-512

In return, I'd like to PR from_string() and a proper export of the base64_variants enum for the native libs :)

vobu avatar Feb 03 '23 09:02 vobu

hey @vobu, will give your PR a try later today. And happy to accept another for the hashing functions :)

nikgraf avatar Feb 10 '23 05:02 nikgraf

I tried doing it. But in the time I had for this, couldn't get my head around how the C++ APIs are surfaced in the coding, sorry 😭 Could you jumpstart this, please?!?

vobu avatar Feb 10 '23 11:02 vobu

would you be willing to sponsor the feature development?

we are happy to share our work open source, by currently I'm paying my team out of personal funds and doing this would cost me or my team member time that I have to pay for while it's not necessary for our project

nikgraf avatar Feb 10 '23 16:02 nikgraf