konstantinullrich / crypton

A simple Dart library for asymmetric encryption and digital signatures
https://pub.dev/packages/crypton
MIT License
34 stars 12 forks source link

Examples in Documentation need updating to show new functions #30

Closed kanyeceejayA closed 2 years ago

kanyeceejayA commented 2 years ago

createSignature and verifySignature are currently deprecated but they appear in the example shown on github, I thought it would be great if we replaced these with examples using createSHA256Signature since it doesn't use strings and can be tricky to switch to.

konstantinullrich commented 2 years ago

Sounds reasonable. I'll fix it asap.

Meanwhile you can grab the code you are looking for from the Unit Tests.