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
Guys, you just drop the lib in the wild? Did you mind to support it with any meaningful samples? Hardly it's easy to dig in your API to discover what to do.
The text was updated successfully, but these errors were encountered:
These plugins are meant to be used with Rebex libraries. If you're looking for a standalone cryptographic library for C# I suggest you take a look at Bouncy Castle project.
Thanks, @sajagi ! Didn't catch why your library should be used with something else. I play a bit with API and library works! :) Hardly I need that heavy 'Castle'. Just in case my sample:
// Signer
var ed = new Ed25519();
ed.FromPrivateKey(File.ReadAllBytes(SomeFileWithPrivateKey));
var sign = ed.SignMessage(msgBytes);
// Verifier
var ed = new Ed25519();
ed.FromPublicKey(File.ReadAllBytes(SomeFileWithPublicKey));
ed.VerifyMessage(msgBytes, sign)
// Key generation
var priv_key = ed.GetPrivateKey();
var pub_key = ed.GetPublicKey();
That's it! One simple example and job is done in 1 min.
Guys, you just drop the lib in the wild? Did you mind to support it with any meaningful samples? Hardly it's easy to dig in your API to discover what to do.
The text was updated successfully, but these errors were encountered: