Data Decrypting

Learn how to securely decrypt data using the Crypto API, ensuring robust authentication and signature verification for seamless cryptographic operations

Data Decrypting

Learn how to securely decrypt data using the Crypto API, ensuring robust authentication and signature verification for seamless cryptographic operations.

In this guide, you’ll find:

  • How the Crypto API ensures security during decryption.
  • Step-by-step instructions for submitting decryption requests.
  • An example request format to streamline implementation.

Overview

Decrypting data through the Crypto API requires a valid, signed encryption object. This object typically comes from the Vortex Storage Broker, ensuring a seamless integration between storage and cryptographic operations. The API enforces strict security measures, refusing decryption unless both the signature and a corresponding authentication token are present and valid.

How to Decrypt Data

For decryption, you will pass the encrypted object to the API without the need for additional parameters beyond the necessary authentication headers and the payload. The API then verifies the signature and token before proceeding with decryption.

Request Example:

POST /dispatch HTTP/1.1
Host: localhost:9200
Request-ID: YOUR_REQUEST_ID
Authorization: Bearer YOUR_API_TOKEN
Content-Type: application/json

{
  "dispatch": {
    "operation": "decrypt"
  },
  "payload": "YOUR_SIGNED_DATA"
}


Did this page help you?
Priority Technology Holdings Logo