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:

With Dart:

 $ dart pub add sm2cipher

With Flutter:

 $ 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.

Import it

Now in your Dart code, you can use:

import 'package:sm2cipher/sm2cipher.dart';
0
likes
120
pub points
14%
popularity

Encrypt and decrypt data use SM2, This is the High level API build amount pointycastle, specify Elliptic curve to SM2 can simplify the api.

Repository (missing)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

base58check, hex, pointycastle

More

Packages that depend on sm2cipher