Conversation

after spending all day writing Rust I can safely say this is a very good language we should all be using a lot more
3
16
reqwest is a thing of beauty (once you work out how to deal with the odd chain of events and libraries needed to use futures properly)
1
5
I'm working on a reference implementation for the crypto protocol in my thesis 😂 so far I've implemented ElGamal encryption and Pedersen commitments over a quadratic residue group, and have written a basic server that can store commitments sent by users
1
1
💛! What you don't see is the solid two hours I spent today wondering why everything decrypted to 1, until I realised I was taking the modulus by the incorrect of the two prime numbers in the system...
1
Arrgh sounds like the months I spent trying to figure out why my polymorphic identity function wouldn't type check, when I'd messed up my variable binding implementation.
1
1
I've gotten into a bit of a pickle with Rust's type checker... my Elem struct has a reference to the Group it's from, and then an ElGamal struct has a reference to both a Group and an Elem. The problem is: when I create a Group in the new() function, I can't take an Elem...
1
Show replies