app icon
Cryptography
0.3.0

Encryption, decryption, hashing and keypair generation, with AES, RSA, SHA256, MD5, HMAC, Ed25519 etc.

bowenliang123/cryptography1002 installs

Cryptography - All-in-one Encryption, Decryption, Hashing and Signing

Author: bowenliang123

Github Repository: https://github.com/bowenliang123/cryptography

Dify Marketplace: https://marketplace.dify.ai/plugins/bowenliang123/cryptography

Description

This Dify plugin provides tools for Encryption, Decryption, Hashing and Signing with Cryptography library.

Tools and Usage

CategoryAlgorithmTools & Features
HashingSHA256
SHA256 File checksum
(sha256sum)
MD5
MD5 File checksum
(md5sum)
Symmetric EncryptionAES
AES Encryption
(aes_encrypt)
AES Decryption
(aes_decrypt)
Asymmetric EncryptionRSA
RSA Keypair Generation
(rsa_keygen)
RSA Encryption
(rsa_encrypt)
RSA Decryption
(rsa_decrypt)
Signing and Verification
Ed25519
(using EdDSA and Curve25519)
Ed25519 Keypair Generation
(ed25519_keygen)
Ed25519 Encryption
(ed25519_encrypt)
Ed25519 Decryption
(ed25519_decrypt)

Hashing

File Hashing with SHA256

  • Tool:
  • Input:
    • Binary file
  • Output:
    • SHA256 hash of the input binary file

File Hashing with MD5

  • Tool:
  • Input:
    • Binary file
  • Output: MD5 hash of the input binary file

Text Hashing with HMAC

  • Tool:
  • Input:
    • Plain text for signature
    • Algorithm: ,
    • Key: Signature Key
  • Output:
    • Signature Text: HMAC signature text in Hex or Base64 format

Symmetric Encryption and Decryption

AES Encryption

  • Tool:
  • Input:
    • plain text
    • encryption key text with Base 64 encoded
  • Output:
    • text: encrypted ciphertext in Base64 format

AES Decryption

  • Tool:
  • Input:
    • ciphertext: encrypted ciphertext with Base 64 encoded
    • decryption key text with Base 64 encoded
  • Output:
    • plain text

Asymmetric Encryption and Decryption

RSA KeyPair Generation

  • Tool:
  • Input:
    • Key size in bits, default: 2048, allowed values: 1024, 2048, 3072, 4096
  • Output:
    • RSA public and private keys in PEM format (PKCS8)
      • public key:
      • private key:

RSA Encryption

  • Tool:
  • Input:
    • plain text
    • RSA public key text (eg. copied from )
  • Output:
    • text: encrypted ciphertext in Base64 format

RSA Decryption

  • Tool:
  • Input:
    • encrypted ciphertext in Base64 format
    • RSA private key text (eg. copied from )
  • Output:
    • plain text

Signing and Verification

Ed25519 KeyPair Generation

  • Tool:
  • Input:
  • Output:
    • Ed25519 public and private keys in PEM format (PKCS8)
      • public key:
      • private key:

Ed25519 Signing

  • Tool:
  • Input:
    • plain text
    • Ed25519 private key text (eg. copied from )
  • Output:
    • signature: Ed25519 signature text in Base64 format

Ed25519 Verification

  • Tool:
  • Input:
    • plain text
    • Ed25519 signature text in Base64 format
    • Ed25519 public key text (eg. copied from )
  • Output:
    • if the signature is valid, otherwise

Changelog

  • 0.3.0:

    • Introduce tools for HMAC signature generation, support HMAC-SHA1 and HMAC-SHA256 algorithms
  • 0.2.0:

    • Introduce and tools for AES encryption and decryption of Base64 format ciphertext
  • 0.1.0:

    • Introduce tools to support Ed25519 signing, varification, keypair generation, including , and
  • 0.0.1:

    • Introduce and tools for hashing the input binary file
    • Introduce and tools for RSA encryption and decryption of Base64 format ciphertext

License

  • Apache License 2.0

Privacy

This plugin collects no data.

All the cryptography operations are completed locally. NO data is transmitted to third-party services.

CATEGORY
Tool
VERSION
0.3.0
bowenliang123·06/18/2025 02:40 AM
REQUIREMENTS
Tool invocation
Maximum memory
512MB