uProofs | Docs
  • 👋 Welcome to uProofs
  • Contact Information
  • Tutorials
    • From 0 to 1
    • Encrypt data
  • Api Reference
    • Subscriptions
    • Identities
    • Assets
    • Proofs
  • For Developers
    • Postman Collection
Powered by GitBook
On this page
  • Abstract
  • 🔐 How to Encrypt a Proof
  • Verify an Encrypted Proof

Was this helpful?

  1. Tutorials

Encrypt data

PreviousFrom 0 to 1NextSubscriptions

Last updated 3 years ago

Was this helpful?

Abstract

When you use Public Blockchain, what you put in Blockchain is public. UPROOFS to guarantee data writes in Blockchain:

  • UUID of the Proofs (that helps to recover the public page);

  • HASH of the data packet (that helps to verify data timestamped).

Through Explorer someone can use the Smart Contract address to see all the data exchange through UPROOF. Here a screenshot of the list of Transaction made through UPROOFS:

Clicking on one transaction User can see the Transaction Details, here a screenshot:

From here a User can use UUID to see proofs of other users. This is not a problem if data is public...

If you use UPROOFS to timestamp private data you can use Encrypt Functionalities.

🔐 How to Encrypt a Proof

You can insert password in your object to encrypt the proof

ENDPOINT

POST "/proofs"

BODY

{
    "assetId": "fe602d7f-b807-4d65-bc29-23b4cea58bb7",
    "password": "12345",
    "data": {
        "timestamp": "those",
        "data": "4ever"
    }
}

Verify an Encrypted Proof

Here the Encrypted Proof if the user cannot provide the password:

If the user provide the password:

List of Transactions