패키지, 저장소 및 앱 카테고리 검색

GitHub 저장소xclud/dart_sec

dart_sec

xclud/dart_sec open-source repository details.

dart_sec 프로젝트 이미지
스타
0
포크
0
최근 푸시(UTC)
2025. 4. 3.
프로젝트 상태
활성

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

package publisher

Implementation of Standards for Efficient Cryptography (SEC) including SECP256K1 and SECP256R1.

Features

  • PublicKey Recovery Id Calculation.
  • Secp160r1
  • Secp160r2
  • Secp192k1
  • Secp192r1
  • Secp224k1
  • Secp224r1
  • Secp256k1 (Commonly used in cryptocurrencies)
  • Secp256r1
  • Secp384r1
  • Secp521r1
  • Brainpoolp160r1
  • Brainpoolp160t1
  • Brainpoolp192r1
  • Brainpoolp192t1
  • Brainpoolp224r1
  • Brainpoolp224t1
  • Brainpoolp256r1
  • Brainpoolp256t1
  • Brainpoolp320r1
  • Brainpoolp320t1
  • Brainpoolp384r1
  • Brainpoolp384t1
  • Brainpoolp512r1
  • Brainpoolp512t1
  • Gostr3410_2001_cryptopro_a
  • Gostr3410_2001_cryptopro_b
  • Gostr3410_2001_cryptopro_c
  • Gostr3410_2001_cryptopro_xcha
  • Gostr3410_2001_cryptopro_xchb
  • Prime192v1
  • Prime192v2
  • Prime192v3
  • Prime239v1
  • Prime239v2
  • Prime239v3
  • Prime256v1
  • Secp112r1
  • Secp112r2
  • Secp128r1
  • Secp128r2
  • Secp160k1

Getting started

dependencies:
  sec: any

Usage

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

Additional information

This package uses pointycastle.

Mahdi K. Fard GitHub avatar
GitHub 작성자

Mahdi K. Fard ↗

Developer Advocate

Tehran, Iran
언어Dart

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 4 개

프로젝트에 맞는 저장소를 선택하려면?

사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.

  1. 이름, 작성자 또는 설명으로 검색하고 기술 주제로 범위를 좁힙니다.
  2. 스타, 포크, 최근 푸시를 함께 비교하세요. 스타는 관심의 지표이며 품질을 보장하지 않습니다.
  3. 사용하기 전에 GitHub에서 README, 라이선스, Issues를 확인하세요.

출처 및 관리

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗