CyxWiz LogoCyxWiz
DocsUtilities

Utility Tools

CyxWiz Engine includes several utility tools for everyday tasks like calculations, conversions, and data inspection.

Overview

Access utility tools via Tools > Utilities menu or the Command Palette (Ctrl+Shift+P).

ToolDescription
CalculatorAdvanced scientific calculator
Unit ConverterPhysical unit conversions
Hash GeneratorCompute MD5, SHA1, SHA256 hashes
Regex TesterTest regular expressions
JSON ViewerView and validate JSON data
Random GeneratorGenerate random numbers and strings

Calculator

Advanced calculator with expression evaluation and history.

Basic Operations
5 + 3          → 8
10 - 4         → 6
6 * 7          → 42
20 / 4         → 5
2 ^ 8          → 256
17 % 5         → 2 (modulo)
Variables
a = 5
b = 3
a + b        → 8
a * b        → 15
c = a ^ 2    → 25
sqrt(c)      → 5

Built-in Functions

FunctionDescriptionExample
sin(x)Sine (radians)sin(pi/2) → 1
cos(x)Cosinecos(0) → 1
sqrt(x)Square rootsqrt(16) → 4
log(x)Natural loglog(e) → 1
log10(x)Base-10 loglog10(100) → 2
exp(x)e^xexp(1) → 2.718
factorial(x)Factorialfactorial(5) → 120

Constants

pi

3.14159...

e

2.71828...

phi

1.61803...

tau

6.28318...

Unit Converter

Convert between various physical units.

Length

m, km, cm, mm, mi, yd, ft, in

1 km → 1000 m

Mass

kg, g, mg, lb, oz, t

1 kg → 2.205 lb

Temperature

°C, °F, K

°F = °C × 9/5 + 32

Time

s, ms, μs, min, h, d, w

Data Size

B, KB, MB, GB, TB, bits

Speed

m/s, km/h, mph, knots, Mach

Hash Generator

Compute cryptographic hashes of text or files.

AlgorithmOutput LengthUse Case
MD5128-bit (32 hex)Checksums (not secure)
SHA-1160-bit (40 hex)Legacy systems
SHA-256256-bit (64 hex)Secure hashing
SHA-512512-bit (128 hex)High security

Example output for "Hello, World!":

MD5:    65a8e27d8879283831b664bd8b7f0ad4
SHA-1:  0a0a9f2a6772942557ab5355d76af442f8f65e01
SHA-256: dffd6021bb2bd5b0af676290809ec3a53191dd81c7f70a4b28688a362182986f

Regex Tester

Test and debug regular expressions with real-time match highlighting.

Quick Reference

.Any character
\dDigit (0-9)
\wWord character
\sWhitespace
^Start of string
$End of string
*0 or more
+1 or more
?0 or 1
{n}Exactly n
[abc]Character class
(...)Capture group

JSON Viewer

View, validate, and explore JSON data with tree view and syntax highlighting.

  • Tree View - Expandable hierarchy
  • Syntax Highlighting - Color-coded JSON
  • Validation - Error detection with line numbers
  • Formatting - Pretty print and minify
  • Search - Find keys and values
  • Copy Path - Get JSONPath

Random Generator

Generate random numbers, strings, UUIDs, and passwords.

Random Numbers

Integer or float, with min/max range.

Distributions: Uniform, Normal, Exponential

Type: Integer, Min: 1, Max: 100 → [42, 17, 89, 3, 56]
Random Strings

Custom length with character options.

Length: 16, A-Z, a-z, 0-9 → "Kj7mXp2QwN8rYvLs"
UUID Generator

Generate v4 UUIDs:

f47ac10b-58cc-4372-a567-0e02b2c3d479
Password Generator

Secure passwords with customizable options.

Length: 20, All options → "Kj7#mXp2$QwN8!rYvLs@"

Keyboard Shortcuts

ToolShortcut
CalculatorCtrl+Shift+C
Unit ConverterCtrl+Shift+U
Regex TesterCtrl+Shift+R
JSON ViewerCtrl+Shift+J