You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been reading this code while learning the field operations from the ground up. I'm also re-implementing the ideas in Rust on my own so I understand things better.
I noticed that in the field implementation, 'SetBytes' and 'Bytes' (bytes) do not appear to be symmetric. I thought it would be nice if the code makes their complementary nature more explicit.
I've been reading this code while learning the field operations from the ground up. I'm also re-implementing the ideas in Rust on my own so I understand things better.
I noticed that in the field implementation, 'SetBytes' and 'Bytes' (bytes) do not appear to be symmetric. I thought it would be nice if the code makes their complementary nature more explicit.
I tried it out in Rust, and it reads better, I thought.
https://github.com/DeviPrasad/dev-tech-write/blob/main/techauth/tech/cryptography/code/c25519/src/field.rs#L431
Would it make sense if I try to write a Go version of the same? Would you like to comment?
The text was updated successfully, but these errors were encountered: