Author

Topic: HELP i have a RSA Private key ?? (Read 115 times)

legendary
Activity: 3472
Merit: 10611
April 17, 2021, 10:26:52 PM
#7
In asymmetric cryptography (aka public-key cryptography) using Elliptic Curves or using Rivest–Shamir–Adleman algorithms, the private key is simply a number that we select at random in a certain range.

So to answer your question, if your RSA private key is selected at random and is in range to be a valid bitcoin private key (256 bit and between 1 and N) then you can use that "number" as your bitcoin private key.
But the issue is that since a 256 bit EC curve provides the same security as a 3072 bit RSA key and a 256-bit RSA keys aren't usually found, you can't convert the two. In simple terms there is a good chance that the RSA key you have is so much bigger than 256 bit.

That thread says you can use the RSA private key to generate a bitcoin private key by putting it through sha256. There's no good reason to do this though.

Sha256 takes n > 1 bits as input and gives a 256 bit output. Since its deterministic you will always get the same output, given the same input. That being said, it's better to just randomly generate a sequence of 256 bits and use that instead.
If the input is random the output can be considered random too. Assuming the RSA key was selected randomly SHA256 of it is secure enough to be used as a private key assuming it is a valid value (within range).
The whole process is pointless though, since you can simply select a random bitcoin private key instead of selecting a random RSA key then hashing it. This is also risky since if you leak the RSA key you'd also leak the bitcoin key.
member
Activity: 140
Merit: 56
April 17, 2021, 03:58:56 PM
#6
but what does this mean then ?

https://bitcoin.stackexchange.com/questions/35565/generate-address-with-rsa-private-key

can i not convert it to a useful private key or something ?
That thread says you can use the RSA private key to generate a bitcoin private key by putting it through sha256. There's no good reason to do this though.

Sha256 takes n > 1 bits as input and gives a 256 bit output. Since its deterministic you will always get the same output, given the same input. That being said, it's better to just randomly generate a sequence of 256 bits and use that instead.
newbie
Activity: 3
Merit: 0
April 17, 2021, 03:28:10 PM
#5
but what does this mean then ?

https://bitcoin.stackexchange.com/questions/35565/generate-address-with-rsa-private-key

can i not convert it to a useful private key or something ?
legendary
Activity: 1512
Merit: 4795
Leading Crypto Sports Betting & Casino Platform
April 17, 2021, 03:24:42 PM
#4
can i do anything useful with it ?
I do not know much about RSA private key, but you can read the link I posted you above. RSA private key is a part of public key infrastructure used in SSL certificate.

Quote
It is a part of the public key infrastructure that is generally used in case of SSL certificates. A public key infrastructure assumes asymmetric encryption where two types of keys are used: Private Key and Public Key (it is included in an SSL certificate). Since encrypted data transmission takes too much time in case of asymmetric encryption, this kind of encryption is used for a secure symmetric key exchange that is used for actual transmitted data encryption and decryption.

If you think it has anything to do with bitcoin private key, you are absolutely wrong. It has nothing to do with bitcoin private key. If you need a bitcoin private key, you can generate that from bitcoin wallet. Any bitcoin sent to the address or public key the bitcoin wallet generates, the private key can be used to access the bitcoin on the blockchain.
newbie
Activity: 3
Merit: 0
April 17, 2021, 03:14:18 PM
#3
No, you can not access bitcoin with RSA private key. RSA private key is used for authentication and a symmetric key exchange during establishment of an SSL/TLS session while bitcoin private key is completely different.

https://www.namecheap.com/support/knowledgebase/article.aspx/798/67/what-is-an-rsa-key-used-for/

can i do anything useful with it ?
legendary
Activity: 1512
Merit: 4795
Leading Crypto Sports Betting & Casino Platform
April 17, 2021, 03:05:50 PM
#2
No, you can not access bitcoin with RSA private key. RSA private key is used for authentication and a symmetric key exchange during establishment of an SSL/TLS session while bitcoin private key is completely different.

https://www.namecheap.com/support/knowledgebase/article.aspx/798/67/what-is-an-rsa-key-used-for/
newbie
Activity: 3
Merit: 0
April 17, 2021, 02:52:12 PM
#1
Hello,

sry im a noob  but if i have an RSA Private key can i access bitcoins with it ? and if so how ?
Jump to: