Bitcoin Forum
May 11, 2024, 02:43:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Public key cryptography encryption possible with RIPEMD160?  (Read 841 times)
Was (OP)
Member
**
Offline Offline

Activity: 75
Merit: 12

We are Satoshi.


View Profile
January 11, 2016, 04:57:37 AM
Last edit: January 11, 2016, 05:08:30 AM by Was
 #1

Is it possible to encrypt a message to a public key and have it be only decrypt-able by the person that owns that bitcoin address? What about multiple addresses like PGP? Any way for someone to use the RIPEMD160 hash of their public key to encrypt the message (assuming the recipient has access to the private key?)

We Are Satoshi.
1715438607
Hero Member
*
Offline Offline

Posts: 1715438607

View Profile Personal Message (Offline)

Ignore
1715438607
Reply with quote  #2

1715438607
Report to moderator
1715438607
Hero Member
*
Offline Offline

Posts: 1715438607

View Profile Personal Message (Offline)

Ignore
1715438607
Reply with quote  #2

1715438607
Report to moderator
1715438607
Hero Member
*
Offline Offline

Posts: 1715438607

View Profile Personal Message (Offline)

Ignore
1715438607
Reply with quote  #2

1715438607
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715438607
Hero Member
*
Offline Offline

Posts: 1715438607

View Profile Personal Message (Offline)

Ignore
1715438607
Reply with quote  #2

1715438607
Report to moderator
1715438607
Hero Member
*
Offline Offline

Posts: 1715438607

View Profile Personal Message (Offline)

Ignore
1715438607
Reply with quote  #2

1715438607
Report to moderator
1715438607
Hero Member
*
Offline Offline

Posts: 1715438607

View Profile Personal Message (Offline)

Ignore
1715438607
Reply with quote  #2

1715438607
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
January 11, 2016, 12:33:33 PM
 #2

Is it possible to encrypt a message to a public key and have it be only decrypt-able by the person that owns that bitcoin address?
Yes. It is possible to use the EC keys that are used in bitcoin for PGP like encryption.

What about multiple addresses like PGP? Any way for someone to use the RIPEMD160 hash of their public key to encrypt the message (assuming the recipient has access to the private key?)
I do not thing it would be possible or secure to encrypt something to the RIPEMD160 hash since encryption requires knowing the public key and the hash does not reveal the public key.

DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
January 11, 2016, 12:36:14 PM
 #3

Is it possible to encrypt a message to a public key and have it be only decrypt-able by the person that owns that bitcoin address?

Yes, but it is generally a bad idea.

Any way for someone to use the RIPEMD160 hash of their public key to encrypt the message (assuming the recipient has access to the private key?)

I don't believe so.  RIPEMD160 is a hash, which means that information is lost as the input is reduced to a digest.  I don't think there's enough information left in the digest to be useful for encrypting a message that can be decrypted with the original private key.
Was (OP)
Member
**
Offline Offline

Activity: 75
Merit: 12

We are Satoshi.


View Profile
January 11, 2016, 02:37:00 PM
 #4

Is it possible to encrypt a message to a public key and have it be only decrypt-able by the person that owns that bitcoin address?

Yes, but it is generally a bad idea.


Could you elaborate on the potential security risks this may present?

We Are Satoshi.
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!