Bitcoin Forum
July 30, 2021, 05:34:05 AM *
News: Latest Bitcoin Core release: 0.21.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: HELP i have a RSA Private key ??  (Read 69 times)
sosa442
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 17, 2021, 07: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 ?
1627623245
Hero Member
*
Offline Offline

Posts: 1627623245

View Profile Personal Message (Offline)

Ignore
1627623245
Reply with quote  #2

1627623245
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1627623245
Hero Member
*
Offline Offline

Posts: 1627623245

View Profile Personal Message (Offline)

Ignore
1627623245
Reply with quote  #2

1627623245
Report to moderator
1627623245
Hero Member
*
Offline Offline

Posts: 1627623245

View Profile Personal Message (Offline)

Ignore
1627623245
Reply with quote  #2

1627623245
Report to moderator
1627623245
Hero Member
*
Offline Offline

Posts: 1627623245

View Profile Personal Message (Offline)

Ignore
1627623245
Reply with quote  #2

1627623245
Report to moderator
Charles-Tim
Hero Member
*****
Offline Offline

Activity: 532
Merit: 1363


I am not Tim-BTC. Tim-BTC is not my alt.


View Profile
April 17, 2021, 08: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/





.
.




░██████████████████░
████████████████████
█████████▀░░░███████
█████████░░▄████████
███████▀▀░░▀▀███████
███████▄▄░░▄▄███████
█████████░░█████████

█████████░░█████████

█████████▄▄█████████

████████████████████

░██████████████████░
░██████████████████░
████████████████████
████████████▀▀▀█▀███
███░▀█████▀░░░░░▀███
███▌░░░▀▀▀░░░░░░████
████▄░░░░░░░░░░░████
█████▀░░░░░░░░░█████

██████▄░░░░░▄▄██████

█████▄▄▄▄███████████

████████████████████

░██████████████████░
░██████████████████░
████████████████████
████████████████████
███████████▀▀░░▐████
███████▀▀░░░░░█████
████▀░░░▄█▀░░░▐█████
█████▄▄█▀░░░░░██████

███████▌▄▄▄▐██████

████████████████████

████████████████████

░██████████████████░
sosa442
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 17, 2021, 08: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 ?
Charles-Tim
Hero Member
*****
Offline Offline

Activity: 532
Merit: 1363


I am not Tim-BTC. Tim-BTC is not my alt.


View Profile
April 17, 2021, 08: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.





.
.




░██████████████████░
████████████████████
█████████▀░░░███████
█████████░░▄████████
███████▀▀░░▀▀███████
███████▄▄░░▄▄███████
█████████░░█████████

█████████░░█████████

█████████▄▄█████████

████████████████████

░██████████████████░
░██████████████████░
████████████████████
████████████▀▀▀█▀███
███░▀█████▀░░░░░▀███
███▌░░░▀▀▀░░░░░░████
████▄░░░░░░░░░░░████
█████▀░░░░░░░░░█████

██████▄░░░░░▄▄██████

█████▄▄▄▄███████████

████████████████████

░██████████████████░
░██████████████████░
████████████████████
████████████████████
███████████▀▀░░▐████
███████▀▀░░░░░█████
████▀░░░▄█▀░░░▐█████
█████▄▄█▀░░░░░██████

███████▌▄▄▄▐██████

████████████████████

████████████████████

░██████████████████░
sosa442
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 17, 2021, 08: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 ?
c_atlas
Member
**
Offline Offline

Activity: 140
Merit: 52


View Profile
April 17, 2021, 08: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.
pooya87
Legendary
*
Online Online

Activity: 2436
Merit: 4121


Beware of Greeks bearing gifts!


View Profile
April 18, 2021, 03:26:52 AM
Merited by Charles-Tim (1)
 #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.

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!