Pywayne Crypto for Openclaw

An encryption and decryption toolkit for strings and bytes, featuring AES-128 support and Python code obfuscation.

wangyendt
v0.1.0
Feb 15, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install crypto-2

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install crypto-2 using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Pywayne Crypto?

Pywayne Crypto is a comprehensive security utility designed to provide developers with robust encryption and decryption capabilities within their Openclaw Skills environment. It supports symmetric encryption using the Fernet (AES-128) standard, ensuring message integrity and high-level security for sensitive data.

Beyond standard data protection, the skill offers specialized features for Python developers, including code obfuscation to protect intellectual property and secure configuration management. By prioritizing Fernet encryption while maintaining an XOR fallback, it ensures versatility across different runtime environments and security requirements.

Pywayne Crypto Use Cases

  • Encrypting sensitive API keys and database credentials for secure storage.
  • Protecting proprietary Python algorithms through multi-layered code obfuscation.
  • Batch processing large sets of user data for secure transmission.
  • Managing encrypted JSON configuration files to prevent unauthorized access to local settings.
  • Implementing secure message passing between different automated agents.

How Pywayne Crypto Works

  1. The user inputs raw data in either string or byte format into the encryption module.
  2. A custom password can be provided to generate a unique key; otherwise, a default key is utilized.
  3. The skill attempts to use the Fernet strategy (AES-128 with integrity checks) for maximum security.
  4. If dependencies for Fernet are unavailable, the system utilizes an XOR fallback mechanism for basic encryption.
  5. The encrypted result is returned as a base64 encoded string, which can be safely stored or transmitted.
  6. For decryption, the matching password is required to reverse the process and retrieve the original data structure.

Pywayne Crypto Setup

To integrate this functionality into your Openclaw Skills projects, you must have the pywayne library installed. You can install it via pip:

pip install pywayne

After installation, you can import the necessary functions into your Python scripts:

from pywayne.crypto import encrypt, decrypt

Pywayne Crypto Data Schema & Taxonomy

The skill manages data primarily through base64 encoded strings and structured JSON files. Below is the data taxonomy:

Component Format Description
Raw Input str / bytes The source data to be processed.
Encrypted Data str (Base64) The secure, encoded output string.
Configuration JSON (.enc) Encrypted dictionary structures for application settings.
Batch Output list[str] An array of processed strings, returning None for individual failures.

Pywayne Crypto Advanced Features

  • Layered Encryption Strategy: Automatically chooses between Fernet (AES-128) and XOR based on environment and settings.
  • Python Code Obfuscation: Protects source code using Base64 hiding, dynamic function generation, and namespace clearing.
  • Secure Configuration Lifecycle: Dedicated functions for saving and loading encrypted JSON config files directly to disk.
  • Error Resilience: Detailed exception handling for password mismatches, corrupted data, and invalid input types within Openclaw Skills workflows.
  • Batch Operations: Highly efficient methods for encrypting or decrypting entire lists of data in a single call.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*