actpkg.dev
Components

library/crypto

v0.4.3 Signed

Cryptographic hashing, HMAC, and JWT decoding

by @library updated 2026-06-11 299 KB 0

Install

$ act pull actpkg.dev/library/crypto

Capabilities

Fully sandboxed

This component requests no filesystem, network, or socket access.

Risk Low Medium High

Tools · 3

act:tools interface — expand a tool for its input schema.

  • hash

    Compute a cryptographic hash of a string

    ParameterTypeDescription
    input*stringInput string to hash
    algorithmvariantHash algorithm: md5, sha1, sha256 (default), sha512, sha3-256, sha3-512

    Returns content.

  • hmac

    Compute HMAC signature for message authentication

    ParameterTypeDescription
    key*stringSecret key
    message*stringMessage to sign
    algorithmvariantHMAC hash algorithm: sha256 (default), sha512

    Returns content.

  • jwt_decode

    Decode a JWT token and return its header and claims (no signature verification)

    ParameterTypeDescription
    token*stringJWT token string

    Returns content.

Readme

No README provided.