...this involves adding a Curve class, and significant refactoring to make this possible in a clean way.
...to make sure random numbers are generated securely
...this should leave the lib folder a little bit less cluttered.