Skip to main content
Glama
paladini

devutils-mcp-server

hash_sha256

Generate SHA-256 cryptographic hash values from input strings for data verification and security applications.

Instructions

Generate a SHA-256 hash of the given input string.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesThe string to hash

Implementation Reference

  • The tool 'hash_sha256' is registered and implemented directly within the registerHashTools function using the node:crypto library.
    server.tool(
      "hash_sha256",
      "Generate a SHA-256 hash of the given input string.",
      { input: z.string().describe("The string to hash") },
      async ({ input }) => ({
        content: [
          {
            type: "text" as const,
            text: createHash("sha256").update(input).digest("hex"),
          },
        ],
      })
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/paladini/devutils-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server