I want to create a contract that stores encrypted data that is accessible only a selected user on the blockchain.
A ideal scenario would be to encrypt the data using the user's public key, such that the user can decrypt the data using their private key. Is there a public and private key equivalent on the Ethereum blockchain?