secp256k1
secp256k1 copied to clipboard
Python Library for Secp256k1 Bitcoin curve to do fast ECC calculation
Hi there: Quick question. I am using this library with pypy3 and seems to work fine with compress and uncompress btc address. But when try something like that: mykey =...
Good afternoon, please add to the DLL possibly recalculating SHA256 as many times as needed. e.g. get_sha256(input_bytes, iteration) get_sha256(b'a', 2048)
when i run my script, its outputed on my vps AttributeError: /root/nevermind/ice_secp256k1.so: undefined symbol: bloom_check_add_mcpu
why didn't you add it? def upub2cpub(upub_bytes): x1 = upub_bytes[1:33] prefix = str(2 + int(upub_bytes[33:].hex(), 16)%2).zfill(2) return bytes.fromhex(prefix)+x1 Please add in the next version. This is what I needed.
For use on microconsumption devices
Please help: run > python secp256k1.py or any way: #1. > python3 secp256k1.py get it response::: File "secp256k1.py", line 527, in def point_sequential_increment_P2_mcpu(num, pubkey1_bytes, mcpu=os.cpu_count()): AttributeError: 'module' object has no...
GPU
How to run on GPU ?
HI can you share the project files for ice_secp256k1.dll? thank you for all your work
Hello, little problem. ` P='02504673bb8f9a16e40227b4ee12fb8d940630cb687fbc98c1747493d18e22f39c' P = ice.pub2upub('02504673bb8f9a16e40227b4ee12fb8d940630cb687fbc98c1747493d18e22f39c') xx=ice._point_sequential_decrement(15, P) for t in range(10): OnePub = xx[t*65:t*65+65] print(ice.point_to_cpub(OnePub)); _bits, _hashes, _bf =ice.Fill_in_bloom(xx, _fp = 0.000001) ice.dump_bloom_file('my_bloom_file3.bin',_bits, _hashes, _bf) xsxa='023df3506a9994ad4a28bf59a14fecd436a2871d257129d6b3bbd02a9d5cafaef5' xsxa...