Class CryptoEncryptTool
A built-in tool for AES encryption and decryption.
Uses AES-256-CBC with HMAC for authenticated encryption.
public sealed class CryptoEncryptTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
CryptoEncryptTool
- Implements
- Inherited Members
Examples
var tool = new CryptoEncryptTool();
registry.Register(tool);
// Agent can now: encrypt and decrypt data using AES-256
Properties
- Description
Gets a concise description of what the tool does.
- InputSchema
Gets the JSON Schema defining the expected input arguments.
- Name
Gets the stable, unique identifier for this tool.
Methods
- InvokeAsync(string, CancellationToken)
Executes the tool with the specified JSON arguments.