smx_encrypt 0.0.1 copy "smx_encrypt: ^0.0.1" to clipboard
smx_encrypt: ^0.0.1 copied to clipboard

中国国家密码局开源的SM2,SM3,SM4系列算法实现.

smx_encrypt #

该插件项目是实现跨端的SM2,SM3,SM4算法,方便flutter项目中集成.

Getting Started #

从pub.dev 中获取插件 #

smx_encrypt: ^0.0.1

代码中进行Api调用 #

import 'sm_crypto_platform_interface.dart';

// 使用公钥进行明文数据加密
SmxEncrypt sm_crypto = SmxEncrypt();
var publicKey = "your public Key";
var data = "your origin data for encrypt data";
sm_crypto.sm2EnCryptoUsePublicKey(publicKey, data);

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

1
likes
135
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

中国国家密码局开源的SM2,SM3,SM4系列算法实现.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on smx_encrypt

Packages that implement smx_encrypt