sm2cipher 0.0.6 sm2cipher: ^0.0.6 copied to clipboard
Encrypt and decrypt data use SM2, This is the High level API build amount pointycastle, specify Elliptic curve to SM2 can simplify the api.
Use this package as a library
Depend on it
Run this command:
$ dart pub add sm2cipher
$ flutter pub add sm2cipher
This will add a line like this to your package's pubspec.yaml (and run an implicit
dart pub get):
dependencies: sm2cipher: ^0.0.6
Alternatively, your editor might support
dart pub get or
flutter pub get. Check the docs for your editor to learn more.
Now in your Dart code, you can use: