AgentPMT - The Agentic Economy

Encrytion Decryption Toolkit

Core Utility
$0.05/requestMin Purchase: 20Min Purchase Price: $1

Details

This function supports six core actions: generate for creating secure random values in ASCII, BASE64, HEX, or UUID formats with configurable lengths from 4 to 256 characters; hash for computing cryptographic digests using MD5, SHA256, SHA384, SHA512, and SHA3 family algorithms; hmac for generating keyed-hash message authentication codes with a secret key; sign for creating digital signatures using RSA (RS256, RS512) or ECDSA (ES256, ES384, ES512) algorithms with PEM-encoded private keys; and encrypt/decrypt for AES-256-GCM authenticated encryption with support for initialization vectors and optional additional authenticated data. Users can provide input as plain text or base64-encoded binary data, and all cryptographic outputs can be encoded in either hexadecimal or base64 format for flexibility across different system integrations. The toolkit handles the underlying cryptographic complexity while exposing a straightforward interface, making it ideal for agent workflows that require secure token generation, data integrity verification, or sensitive information protection.

Use Cases

Generating secure API keys or access tokens for authentication systems, creating unique UUIDs for database record identifiers, computing file checksums to verify data integrity during transfers, validating webhook payloads by computing and comparing HMAC signatures, signing JWT tokens for stateless authentication in API workflows, encrypting sensitive configuration values or credentials before storage, decrypting stored secrets at runtime for secure credential injection, generating session tokens or one-time codes for user verification flows, creating content hashes for deduplication or caching key generation, signing API requests to third-party services that require cryptographic authentication

Parameters

(required properties listed first)

action*required
Type:string
Description:Crypto operation to perform.
Allowed values:
get_instructionsgeneratehashhmacsignencryptdecrypt
property_name
Type:string
Description:Name of the property to write the output to.
type
Type:string
Description:Type or algorithm name (ASCII, BASE64, HEX, UUID, MD5, SHA256, SHA3-256, SHA3-384, SHA3-512, SHA385, SHA512).
encoding
Type:string
Description:Output encoding for hashes/signatures/ciphertext.
Default:hex
Allowed values:
base64hex
value
Type:string
Description:Plain text input (or ciphertext for decrypt).
binary_file
Type:boolean
Description:Use binary_value_base64 as input.
binary_property_name
Type:string
Description:Name of the binary property (metadata only).
binary_value_base64
Type:string
Description:Base64-encoded binary data for hashing/HMAC.
secret
Type:string
Description:Secret key for HMAC.
algorithm
Type:string
Description:Signing algorithm (RS256, RS512, ES256, ES384, ES512).
private_key
Type:string
Description:PEM-encoded private key for signing.
key
Type:string
Description:Encryption key for AES-256-GCM (encoded).
iv
Type:string
Description:Initialization vector/nonce (encoded).
aad
Type:string
Description:Additional authenticated data (optional).
length
Type:integer
Description:Length for generated values (default: 32).
Default:32
Minimum:4
Maximum:256

API Example

curl -X POST "https://api.agentpmt.com/products/purchase" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: your-api-key-here" \
  -H "X-Budget-Key: your-budget-key-here" \
  -d '{
    "product_id": "695c374f767df5adfd9bc871",
    "parameters": {
      "action": "get_instructions",
      "encoding": "hex",
      "length": 32
    }
  }'

Login to view your API and budget keys. The example above uses placeholder values. Sign in to see personalized code with your actual credentials.

About The Developer

Apoth3osis logo

Apoth3osis

13 stars

Joined Agent Payment: August 14, 2025

We build tools that enable AI agents to excel in the mathematical realm.

Our small team develops experimental and unique solutions in the AI arena, with a strong focus on modular computing for agentic applications and custom model deployment. We have handled projects for a variety of applications across many sectors, from algorithmic trading and financial analysis, to molecular simulations and predictions, to habitat and biodiversity monitoring and wildlife conservation.