ionspin / kotlin-multiplatform-libsodium

A kotlin multiplatform wrapper for libsodium, using directly built libsodium for jvm and native, and libsodium.js for js targets.
Apache License 2.0
94 stars 7 forks source link

Finite Field Artithmetic not implemented? #45

Open TBCode523 opened 5 months ago

TBCode523 commented 5 months ago

I haven't been able to find functions relating to libsodiums Finite Field arithmetic. If they're available how do I invoke them? Thanks.

ionspin commented 5 months ago

Hi @TBCode523, you are right, finite field arithmetic is not implemented in the library.

Pull request for that would be welcome!

Adding it would be relatively straightforward, the java and native should be present since we are building the library from source, and I think I saw them in libsodium.js which we use for JS target, but I haven't checked if all of them are there.

TBCode523 commented 5 months ago

I'm not experienced with developing cryptographic related algorithms, but I can take a look if more senior developers are unavailable.

Traderjoe95 commented 1 month ago

I could take over, if you don't mind. I've got some experience with this and also brought support for Ristretto to LazySodium some time ago.