The Rust common annotated security key generator and validator are now semantically equivalent to the C# versions.
New Rust tests for the modified generator and validator methods. Since this is a large PR, the tests are a good starting point to navigate the changes.
Some simplifications in the C# methods (removing dead code, changes to the key generation pattern, etc).
Some cleaning up of obvious Rust formatting issues.
This PR makes the following changes: