Install
openclaw skills install @agentpmt/encrytion-decryption-toolkitEncrytion Decryption Toolkit: Cryptographic toolkit: generate secure randoms, compute hashes (MD5, SHA, SHA3). Use when an agent needs encrytion decryption toolkit, 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, decrypt, value, key through AgentPMT-hosted remote tool calls.
openclaw skills install @agentpmt/encrytion-decryption-toolkitLast updated: 2026-06-23.
If the current date is more than 7 days after the last updated date, reinstall this skill from skills.sh or ClawHub before relying on endpoints, schemas, setup steps, or examples.
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.
Cryptographic utility for generating random values, hashing data, computing HMACs, creating digital signatures, and performing AES-256-GCM encryption/decryption.
Generate a cryptographically secure random value.
Required fields:
generation_type (string) — Type of value to generate: ASCII, BASE64, HEX, or UUIDproperty_name (string) — Name for the output property containing the generated valueOptional fields:
length (integer, 4-256, default 32) — Length of the generated value (ignored for UUID)Example — Generate a hex API key:
{
"action": "generate",
"property_name": "api_key",
"generation_type": "HEX",
"length": 64
}
Example — Generate a UUID:
{
"action": "generate",
"property_name": "session_id",
"generation_type": "UUID"
}
Example — Generate a base64 token:
{
"action": "generate",
"property_name": "refresh_token",
"generation_type": "BASE64",
"length": 48
}
Compute a cryptographic hash of text or binary data.
Required fields:
hash_algorithm (string) — Hash algorithm: MD5, SHA256, SHA384, SHA512, SHA3-256, SHA3-384, or SHA3-512value (string) — Text to hash (required unless binary_file is true)Optional fields:
property_name (string) — Output property name (defaults to hash_result)encoding (string) — Output encoding: hex (default) or base64binary_file (boolean, default false) — Set to true to hash binary data instead of textbinary_value_base64 (string) — Base64-encoded binary data (required when binary_file is true)binary_property_name (string) — Metadata label for the binary inputExample — SHA-256 hash of text:
{
"action": "hash",
"hash_algorithm": "SHA256",
"value": "hello world"
}
Example — Hash binary data with base64 output:
{
"action": "hash",
"hash_algorithm": "SHA512",
"binary_file": true,
"binary_value_base64": "SGVsbG8gV29ybGQ=",
"encoding": "base64"
}
Example — MD5 hash with custom property name:
{
"action": "hash",
"hash_algorithm": "MD5",
"value": "check this content",
"property_name": "content_checksum"
}
Compute a keyed-hash message authentication code.
Required fields:
hash_algorithm (string) — Hash algorithm: MD5, SHA256, SHA384, SHA512, SHA3-256, SHA3-384, or SHA3-512secret (string) — The secret key for HMAC computationvalue (string) — Text to authenticate (required unless binary_file is true)Optional fields:
property_name (string) — Output property name (defaults to hmac_result)encoding (string) — Output encoding: hex (default) or base64binary_file (boolean, default false) — Set to true to use binary data as inputbinary_value_base64 (string) — Base64-encoded binary data (required when binary_file is true)Example — HMAC-SHA256:
{
"action": "hmac",
"hash_algorithm": "SHA256",
"value": "message to authenticate",
"secret": "my-secret-key"
}
Example — HMAC-SHA512 with base64 output:
{
"action": "hmac",
"hash_algorithm": "SHA512",
"value": "webhook payload content",
"secret": "webhook-signing-secret",
"encoding": "base64"
}
Create a digital signature using a private key.
Required fields:
value (string) — The text to signalgorithm (string) — Signing algorithm: RS256, RS512 (RSA), or ES256, ES384, ES512 (ECDSA)private_key (string) — PEM-encoded private keyOptional fields:
property_name (string) — Output property name (defaults to signature)encoding (string) — Output encoding: hex (default) or base64Example — RSA SHA-256 signature:
{
"action": "sign",
"value": "data to sign",
"algorithm": "RS256",
"private_key": "-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----",
"encoding": "base64"
}
Example — ECDSA signature:
{
"action": "sign",
"value": "data to sign",
"algorithm": "ES256",
"private_key": "-----BEGIN EC PRIVATE KEY-----\n...\n-----END EC PRIVATE KEY-----"
}
Encrypt plaintext using AES-256-GCM authenticated encryption.
Required fields:
value (string) — Plaintext to encryptkey (string) — 32-byte AES key, encoded as hex or base64iv (string) — 12-byte nonce/initialization vector, encoded as hex or base64Optional fields:
encoding (string) — Encoding for key, iv, and output: hex (default) or base64aad (string) — Additional authenticated data (verified during decryption but not encrypted)Example — Encrypt with hex-encoded key and IV:
{
"action": "encrypt",
"value": "secret message",
"key": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"iv": "0123456789abcdef01234567"
}
Example — Encrypt with AAD:
{
"action": "encrypt",
"value": "confidential data",
"key": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"iv": "0123456789abcdef01234567",
"aad": "user-id:12345"
}
Decrypt AES-256-GCM ciphertext back to plaintext.
Required fields:
value (string) — Ciphertext to decrypt (hex or base64 encoded)key (string) — 32-byte AES key (same encoding used during encryption)iv (string) — 12-byte nonce (same value used during encryption)Optional fields:
encoding (string) — Encoding for key, iv, and ciphertext: hex (default) or base64aad (string) — Additional authenticated data (must match what was used during encryption)Example — Decrypt hex-encoded ciphertext:
{
"action": "decrypt",
"value": "a1b2c3d4e5f6...",
"key": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"iv": "0123456789abcdef01234567"
}
generate with generation_type: "HEX" and length: 64 to create a 32-byte keygenerate with generation_type: "HEX" and length: 24 to create a 12-byte IVencrypt with the generated key, IV, and your plaintextdecrypt with the same key, IV, and the returned ciphertexthmac on the message with a shared secrethmac on the received message with the same secrethash with binary_file: true and binary_value_base64 set to the encoded contentencoding parameter applies to both input decoding (key, iv, ciphertext) and output encoding. Use the same encoding for encrypt and decrypt operations.length parameter is ignored when generation_type is UUID; standard UUIDs are always returned.Encrytion Decryption Toolkit on AgentPMT.decrypt, encrypt, generate, hash, hmac, sign.No categories or industry tags are published for this tool.
Complete generated action schema: ./schema.md.
Supported action count: 6.
x402 availability: not enabled for this product.
decrypt (action slug: decrypt): Decrypt AES-256-GCM ciphertext back to plaintext. Price: 5 credits. Parameters: aad, encoding, iv, key, value.encrypt (action slug: encrypt): Encrypt plaintext using AES-256-GCM authenticated encryption. Price: 5 credits. Parameters: aad, encoding, iv, key, value.generate (action slug: generate): Generate a cryptographically secure random value in ASCII, BASE64, HEX, or UUID format. Price: 5 credits. Parameters: generation_type, length, property_name.hash (action slug: hash): Compute a cryptographic hash of text or binary data using MD5, SHA, or SHA3 algorithms. Price: 5 credits. Parameters: binary_file, binary_property_name, binary_value_base64, encoding, hash_algorithm, property_name, value.hmac (action slug: hmac): Compute a keyed-hash message authentication code (HMAC) using a secret key. Price: 5 credits. Parameters: binary_file, binary_value_base64, encoding, hash_algorithm, property_name, secret, value.sign (action slug: sign): Create a digital signature using RSA or ECDSA with a PEM-encoded private key. Price: 5 credits. Parameters: algorithm, encoding, private_key, property_name, value.Use the compact schema above for ordinary calls. Before a new production integration, or whenever parameters, enum values, nested objects, outputs, or examples are unclear, fetch live details first.
agentpmt-tool-search-and-execution with action: "get_schema", and tool_id: "encrytion-decryption-toolkit".agentpmt-tool-search-and-execution with action: "get_instructions" and tool_id: "encrytion-decryption-toolkit", or call this product with action: "get_instructions" when the product tool is already selected.MCP schema lookup through the main AgentPMT MCP server:
{
"method": "tools/call",
"params": {
"name": "AgentPMT-Tool-Search-and-Execution",
"arguments": {
"action": "get_schema",
"tool_id": "encrytion-decryption-toolkit"
}
}
}
For live examples, keep the same MCP tool and use these arguments:
{
"action": "get_instructions",
"tool_id": "encrytion-decryption-toolkit"
}
Authenticated AgentPMT REST schema lookup body:
{
"name": "agentpmt-tool-search-and-execution",
"parameters": {
"action": "get_schema",
"tool_id": "encrytion-decryption-toolkit"
}
}
Authenticated AgentPMT REST live examples body:
{
"name": "agentpmt-tool-search-and-execution",
"parameters": {
"action": "get_instructions",
"tool_id": "encrytion-decryption-toolkit"
}
}
Product slug: encrytion-decryption-toolkit
Marketplace page: https://www.agentpmt.com/marketplace/encrytion-decryption-toolkit
../agentpmt-account-mcp-rest-api-setup to connect the main MCP server or REST API for an Agent Group where this tool is enabled.../what-is-agentpmt for marketplace, Agent Group, workflow, MCP, REST, and payment concepts.If those setup skills are not installed beside this product skill, use the downloads below.
Core AgentPMT setup skills:
openclaw skills install what-is-agentpmtnpx skills add AgentPMT/agent-skills --skill what-is-agentpmtopenclaw skills install agentpmt-account-mcp-rest-api-setupnpx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setupskills.sh install script:
npx skills add AgentPMT/agent-skills --skill what-is-agentpmt
npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup
MCP call shape after the main AgentPMT MCP server is connected:
{
"method": "tools/call",
"params": {
"name": "Encrytion-Decryption-Toolkit",
"arguments": {
"aad": "example aad",
"action": "decrypt",
"encoding": "hex",
"iv": "example iv",
"key": "example key",
"value": "example value"
}
}
}
Use the exact tool name returned by tools/list; the name above is the expected readable form.
Authenticated AgentPMT REST call body:
{
"name": "encrytion-decryption-toolkit",
"parameters": {
"aad": "example aad",
"action": "decrypt",
"encoding": "hex",
"iv": "example iv",
"key": "example key",
"value": "example value"
}
}
Use the setup skill for the account connection details before making REST calls.
passed or success-style boolean, use it as the workflow gate.get_schema or get_instructions before retrying.decrypt fails, preserve the request parameters and retry only after fixing schema, auth, or payment errors.what-is-agentpmt, page: https://clawhub.ai/agentpmt/what-is-agentpmt; skills.sh: npx skills add AgentPMT/agent-skills --skill what-is-agentpmt)agentpmt-account-mcp-rest-api-setup, page: https://clawhub.ai/agentpmt/agentpmt-account-mcp-rest-api-setup; skills.sh: npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup)