Releases: nHashApp/nHash
1.11
⚡ v1.11 - Comprehensive Modular Feature Expansion & Zero-Latency Performance
We are thrilled to present v2.0.0, a massive milestone release that transforms the application into an ultra-fast, multi-purpose developer utility and cryptographic CLI workstation. This version features a complete structural reorganization, dozens of highly performant new subcommands, and outstanding visual terminal aesthetics.
🚀 Key Highlights
- ⚡ Zero-Latency Performance: Optimized the codebase for instant invocation, minimal execution footprint, and zero JIT/startup lag.
- 🧩 Modular Clean Architecture: Reorganized into 10 highly cohesive domain-centric command groups.
- 🔐 Unified Token Workstation: Combined all JWT tools (decoding with metadata extraction AND unsigned token building) under a single consolidated
convert encode jwtcommand suite. - 🎨 Premium Terminal UI: Beautiful, styled layouts powered by premium panels, custom CSV-to-Table grids, and horizontal truecolor color gradients.
🛠️ What's New by Module
1. 🔄 Data Conversions (convert)
- Base Encoders: Added RFC 9285
base45, bitqueue-basedbase91, international domainpunycode(IDN), configurablerot13/Caesar cipher shift,morsecode, andbintext(text to binary/octal/decimal byte arrays). - JWT Suite: Unified dynamic
decode(showing algorithm, issuer, times, expirations) andbuild(creating unsigned tokens from JSON strings) subcommands. - Format Translators: Added instant structured schema converter (
format) betweenJSON,YAML, andXML. - Base-N: Supports conversions between arbitrary numerical bases from 2 to 36.
2. 🔐 Security & Cryptography (crypto)
- Asymmetric RSA Signatures: Added RSA key pair generator (
keygenwith size config), cryptographic digital signer (sign), and verification signature tool (verify) using.pemkeys. - Symmetric Ciphers: Native byte encryption/decryption supporting AES, DES, TripleDES, and RC2 algorithms.
- Hashes & Password Strength: Complete cryptographic hashes (MD5 to SHA-512, Murmur3) and secure password strength estimators/generators.
3. 🆔 Identity & Identifiers (id)
- UUID detailed Inspection: Added UUID analyzer (
inspect) to extractGuid variant, version, byte layout, and creation timestamp (for v1/v7). - TOTP Verification: Added Time-based One-Time Password generator (
totp) complying with RFC 6238, displaying dynamic codes and real-time period countdowns. - High-Security Identifiers: Built-in support for CUID2 and 64-bit Twitter Snowflake ID generation and decoding.
4. 🔠 Advanced Text Processing (text)
- Analytics: Word frequency mapping (
wordfreqtabular output), occurrences count (countwith regex/substring support), character escape/unescape (escapefor JSON, C#, SQL, XML), and diff comparison (diffline-by-line). - Formatting: Diacritic-stripping URL slug generator (
slug), humanizer titles converter (humanize), and case converters.
5. 📅 Time & Calendars (date)
- Dual Calendar Converter: Instant Gregorian ↔ Jalali (Shamsi) ↔ Hijri calendar conversions.
- Temporal Algebra: Accumulate durations (
addusing+1y-2m+30dsyntaxes), parse ISO 8601, and count business/working days (workdaysexcluding weekends).
6. 📂 Filesystem Diagnostics (file)
- Magic Bytes Forensics: Signature-based MIME/type detection (
type) for images, archives, PDFs, executables, and plain-texts. - Batch & Search Operations: Visual recursive directory structure trees (
tree), duplicates locator (dedupgrouping by size & SHA-256 digests), batch regex renaming (renamewith safe preview mode), and checksum sidecar generator (integrity).
7. 💻 Developer Suite (dev)
- Cron Schedules: Decodes cron expressions into human-readable schedules and lists the next N executions.
- Visual Colors Translator: Dynamic HEX ↔ RGB ↔ HSL ↔ CMYK translator (
color) with truecolor visual previews in the terminal. - SemVer & Numbers: Semantic version comparator (
semver) and multi-base number representation inspector.
8. 🧮 Pure Mathematics (math)
- Expression Evaluator: Blazing-fast recursive descent math expression solver (
evaluatesupporting+,-,*,/,%,^,sin,cos, etc.). - Integers properties: Prime, perfect, or Fibonacci checks, digit sums, and prime factorization.
9. 🖥️ Real-time System Metrics (sys)
- Diagnostics: Detailed OS info, CPU cores, RAM limits, env variables filter, and processes monitor sorted by memory usage.
10. 🎨 Visual Terminal Art (art)
- Custom rendering boxes, text banners, horizontal color gradient generators, and CSV-to-Table terminal grids.
nHash 1.10
nHash Version 1.10 brings a host of new features and improvements to the command-line tool. In this release, we've added new functionalities and made changes to enhance user experience.
Added Features
-
Base58 Encoding: You can now encode/decode Base58 using the new
nhash encode base58sub-command. For example, to encode the text "hello", runnhash encode base58 "hello". -
Abbreviated Mode: To make it easier to use the tool, we have added an abbreviated mode to commands. You can now generate a UUID with the command
nhash u, or calculate an MD5 hash code for a string with the commandnhash h c "Hello" -t md5. -
Examples for Commands: We've also added an example call feature to commands. You can now see examples for every command by running a command with
-hor--help. For example, to see examples of the uuid command, runnhash uuid --help.
Bug Fixes
- Alias Parameter Detection: We have fixed a bug in the detection of alias parameters for output.
- Output Writing: We have also fixed a bug that affected output writing.
Changes
- Version Option Display Mode: We have made a change to the display mode for the version option.
We hope that these changes and improvements enhance your experience using nHash.
1.9.1
1.9
nHash has many changes in this release
Added
- Separation of Hash sub-command into two sections, Calc and Checksum
Calc sub-command
- Add Blake2b algorithm
- Add Blake2s algorithm
- Add SHA-3 (224, 256, 384, 512) algorithm
Checksum sub-command
- Add Adler32 algorithm into Checksum sub-command
- Add Fletcher16 algorithm into Checksum sub-command
- Add Fletcher32 algorithm into Checksum sub-command
- Added a verification option to Checksum, verify received code with selected file
nhash hash checksum --file test.iso --verify 5EB63BBBE01EEED093CB22BB8F5ACDC3 --type md5
Change
This is the biggest change for having clean code
1.8
nhash v1.8
nHash is a command-line tool for hashing, text manipulation, and data conversion. The latest version 1.8 introduces new features and improvements to the JSON, YAML, and XML conversion tools.
JSON, YAML, and XML conversion tools
nHash now supports converting between JSON, YAML, and XML formats. Users can convert JSON, YAML, or XML data to any of the other two formats using the --convert option. For example, to convert YAML to JSON, use the command nhash text yaml --convert JSON <file>.
Other features and improvements
In addition to the conversion tools, version 1.8 also includes the following features and improvements:
Improved help system: more comprehensive help information is available through the --help option for each command.
1.7
For better features, new features and some structural changes to make it easier to add new features.
Added:
- Add global output to all commands, You can directly write output to the file. with parameter "--output file-name" at end of the command
- Add convert to Yaml in the Json feature
Change:
- Change the program source code structure to clean
- Add DI to make the program easier to add new features
- Change the read file from Sync to Async