sm2cipher 0.0.6 copy "sm2cipher: ^0.0.6" to clipboard
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
110
pub points
63%
popularity

Publisher

unverified uploader

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 (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

base58check, hex, pointycastle

More

Packages that depend on sm2cipher