Bitcoin Forum
May 14, 2024, 06:29:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Searching for secp256k1 algo in C# that is fast  (Read 187 times)
shahzad73 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 4


View Profile
September 20, 2018, 04:00:55 PM
 #1

I have 32 byte private key that i generate from a function. Now i need to convert into public key both compress and uncompress fast as i generate thousands of addresses in few seconds.

Currently using C# nBitcoin to convert these private keys to public but that library is to slow and only able to convert 1500 addresses in 5 or 6 seconds

looking for a C# code that can do the job faster to any degree    it will help me  


Can C++ code be faster within C# .NET core ?     is it possible to use C++ within Core ?


Shahzad
"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715668144
Hero Member
*
Offline Offline

Posts: 1715668144

View Profile Personal Message (Offline)

Ignore
1715668144
Reply with quote  #2

1715668144
Report to moderator
1715668144
Hero Member
*
Offline Offline

Posts: 1715668144

View Profile Personal Message (Offline)

Ignore
1715668144
Reply with quote  #2

1715668144
Report to moderator
d34thkn3ll
Jr. Member
*
Offline Offline

Activity: 52
Merit: 1


View Profile
September 21, 2018, 04:24:53 PM
 #2

Thousands of addresses which most likely will never be used.
Either you are trying to build a vanitygen, or bruteforce somebody's private key.
Take some vanitygen code, build it as a lib and use it in your project.

Looking for decentralized systems experts.
DevilOper
Member
**
Offline Offline

Activity: 280
Merit: 26


View Profile
September 25, 2018, 12:30:06 PM
 #3

Why not simply to use existing (well-optimized) library like OpenSSL?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!