v1.1.1
sec
प्रभावी एन्क्रिप्शन मानक (SEC) का कार्यान्वयन, जिसमें SECP256K1 और SECP256R1 शामिल हैं।
4लाइक 39 हज़ार30-दिन डाउनलोड160Pub अंक
AndroidiOSWebmacOSWindowsLinux
xclud/dart_sec open-source repository details.
^4.0.0^5.0.0^1.25.0^3.1.1यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
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.