v1.1.1
sec
Implementation of Standards for Efficient Cryptography (SEC) including SECP256K1 and SECP256R1.
4Likes 45.9K30-day downloads160Pub points
AndroidiOSWebmacOSWindowsLinux
xclud/dart_sec open-source repository details.
English project snapshot. Visit GitHub for the latest content.
Implementation of Standards for Efficient Cryptography (SEC) including SECP256K1 and SECP256R1.
dependencies:
sec: any
import 'package:sec/sec.dart';
import 'package:convert/convert.dart';
final privateKey = BigInt.parse(
'c57304b3a53051600d7035fc593083810a8fa250e6a7a2803cf6a0f3c2750503',
radix: 16,
);
final publicKey = Secp256k1.createPublicKey(privateKey, true);
final pkHex = hex.encode(publicKey);
print('Public Key: $pkHex');
// 03566b04ce8459c8e2f95691ff17625a0b84773ecd2b65f597c05bd90fa8609ed6
This package uses pointycastle.
Dependency list 4 items
^4.0.0^5.0.0^1.25.0^3.1.1Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗