import secp256k1 as ice
target = “UNCOMPRESSED PUB HERE”
A2 = ice.to_cpub(target)
print(A2)
It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
import secp256k1 as ice
target = “UNCOMPRESSED PUB HERE”
A2 = ice.to_cpub(target)
print(A2)
Code:
import secp256k1 as ice
target = 1
A0 = ice.scalar_multiplication(target)
A1 = A0.hex()
A2 = ice.to_cpub(A1)
print("Pk:",target)
print("cPub:",A2)
Code:
import secp256k1 as ice
target = 1
A0 = ice.scalar_multiplication(target)
A1 = A0.hex()
A2 = ice.to_cpub(A1)
print("Pk:",target)
print("cPub:",A2)
import bitcoin
target= "HERE COMPRESSED PUBLIC KEY"
N= 2
Div= bitcoin.divide(target, N)
print(Div)
import secp256k1 as ice
target = 1
A0 = ice.scalar_multiplication(target)
A1 = A0.hex()
B0 = ice.pubkey_to_address(0,1, A0)
A2 = ice.to_cpub(A1)
print("Pk:",target)
print("cPub:",A2)
print("Addr:",B0)
import secp256k1 as ice
#A+B
A= "HERRE COMPRESSED PUBLIC KEY"
B= "HERRE COMPRESSED PUBLIC KEY"
Upub_A= ice.pub2upub(A)
Upub_B= ice.pub2upub(B)
A1= ice.point_addition(Upub_A, Upub_B).hex()
A2 = ice.to_cpub(A1)
print("R:",A2)
import secp256k1 as ice
#A-B
A= "HERE COMPRESSED PUBLIC KEY"
B= "HERE COMPRESSED PUBLIC KEY"
Upub_A= ice.pub2upub(A)
Upub_B= ice.pub2upub(B)
A1= ice.point_subtraction(Upub_A, Upub_B).hex()
A2 = ice.to_cpub(A1)
print("R:",A2)
import bitcoin
target= "HERE COMPRESSED PUBLIC KEY"
N= 2
mult= bitcoin.multiply(target, N)
print(mult)
import bitcoin
target= "HERE COMPRESSED PUBLIC KEY"
N= 2
Div= bitcoin.divide(target, N)
print(Div)
import bitcoin
target= 1361129467683753853853498429727072845823
Div=2
N=115792089237316195423570985008687907852837564279074904382605163141518161494337
a=bitcoin.inv(Div,N)
b= target*a % N
print("pk:",b)
import secp256k1 as ice
target = “UNCOMPRESSED PUB HERE”
A2 = ice.to_cpub(target)
print("Cpub:", A2)