Skip to main content

cryzen

cryzen is a small, focused Python library providing 3 reversible ciphers and 3 irreversible hashing schemes, designed to be simple to use and suitable for many common tasks.

Important: This library intentionally exposes friendly, unique function names (FluxCipher, ZenCode, AstraCrypt, NovaHash, TerraHash, OmegaHash). Internally standard primitives are used (AES, BLAKE2, SHA256, PBKDF2).

Features

  • FluxCipher (flux_encrypt / flux_decrypt) — XOR-based reversible cipher (fast, NOT recommended for strong secrets)
  • ZenCode (zen_encode / zen_decode) — URL-safe compact base64 wrapper for tokens
  • AstraCrypt (astra_encrypt / astra_decrypt) — AES-256-CBC reversible encryption (requires pycryptodome)
  • NovaHash (nova_hash) — fast irreversible BLAKE2b-based hash
  • TerraHash (terra_hash) — SHA-256 irreversible hash
  • OmegaHash (omega_hash) — PBKDF2-HMAC-SHA512 (salted) irreversible hash for passwords

Installation (development)

# For AES support install pycryptodome
pip install pycryptodome

# then install locally for testing
pip install cryzen

Quick usage

from cryzen import flux_encrypt, flux_decrypt, zen_encode, zen_decode
from cryzen import astra_encrypt, astra_decrypt
from cryzen import nova_hash, terra_hash, omega_hash

# flux
ct = flux_encrypt("hello world", key="s3cr3t")
print(flux_decrypt(ct, key="s3cr3t"))

# zencode
t = zen_encode("keep this")
print(zen_decode(t))

# astra (AES) - requires pycryptodome
token = astra_encrypt("sensitive", "my_secret_key")
print(astra_decrypt(token, "my_secret_key"))

# hashes
print(nova_hash("value"))
print(terra_hash("value", salt="optional"))
print(omega_hash("password"))  # returns salt$derived_hex

API & help()

Each function includes a docstring. Use Python's built-in help() or dir():

import cryzen
help(cryzen.flux_encrypt)
dir(cryzen)

Security notes

  • flux_encrypt is not cryptographically secure — use only for obfuscation or non-critical tasks.
  • astra_encrypt is secure when secret_key is strong and kept private. Use pycryptodome for AES implementation.
  • Use omega_hash for password storage (store full token).
  • Never hardcode secrets in distributed code.
  • Source Code on GitHub: cryzen Repository

(Contact Me):

License

MIT. See LICENSE file.

Metadata

Release files for cryzen 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cryzen 0.1.5
File Size Uploaded Provenance Actions
cryzen-0.1.5.tar.gz 6.2 kB Without provenance Details for cryzen-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cryzen 0.1.5
File Interpreter ABI Platform Actions
cryzen-0.1.5-py3-none-any.whl Python 3 none any Details for cryzen-0.1.5-py3-none-any.whl

Total release size: 14.1 kB

Release files / cryzen-0.1.5.tar.gz

Download URL cryzen-0.1.5.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
852c302e1a89396277d9dfab63815ed690d8ff063081bbc29a092ff1426e3a47
BLAKE2b-256 checksum
How to use checksums
fcacd5699e21978aa586f3f0580466d6b6230120121a0e1c9e32f512201e2a5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / cryzen-0.1.5-py3-none-any.whl

Download URL cryzen-0.1.5-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1be92f9e2db55e4b46e7062be35387342d88de41c89d46dd8ae7212505782aaf
BLAKE2b-256 checksum
How to use checksums
3f5e231e5f3c3834f79860011bd233a3704ca2210b96332aa77c580fbb3e7a30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for cryzen 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page