UTILSBOX⚡ALL TOOLS54+
JSON.FORMATHub of five tools: format, validate, minify, convert to XML, and compare two JSON documents.//REGEX.TESTERReal-time regular expressions tester, cheatsheet, debugger and replacer.//PDF.SUITEMerge, split, extract text, rotate and convert PDF pages to images.//IMAGE.STUDIOIn-browser photo editor: crop, resize, filters, WebP/PNG and Base64 encoder.//HTML.BEAUTIFYHTML code beautifier, production minifier and entity encoder.//CSS.MINIFYCSS code formatter, production stylesheet minifier and CSS to SCSS converter.//SQL.FORMATTERSQL query beautifier, dialect translator (Postgres/MySQL) and minifier.//SVG.EXCALIDRAWInteractive vector visual editor powered by Excalidraw and SVG formatter.//TEXT.DIFFWord counter, reading time estimator and dual-text diff comparator.//YAML.CONVERTYAML & JSON bi-directional validator and formatter with syntax checking.//XML.PARSERXML document formatter, tree inspector and XML to JSON converter.//GRAPHQL.STUDIOGraphQL query & SDL formatter, minifier, AST field sorter and validator.//BASE64.CODECBase64 and URL-Safe encoder / decoder with full UTF-8 verification.//PASSWORD.GENCryptographically secure random password and entropy strength generator.//URL.STUDIO8-tool URL suite: encode, decode, validator, component parser and builder.//QR.STUDIOCustom QR code generator with embedded logos, colors, gradients and shapes.//ASCII.EXPLORERInteractive ASCII 0-255 table, Alt keyboard codes and CP437 symbols.//KEYCODES.LIVELive KeyboardEvent detector and JavaScript keycodes cheat sheet.//JWT.DEBUGGERJWT token decoder, claims inspector and Web Crypto signature verification.//BINARY.CODECBidirectional text to binary converter with digital rain and ASCII table.//CHARTS.STUDIOInteractive chart generator (bars, lines, pie, scatter) from CSV data.//UUID.V7Bulk generator for UUID v4, time-ordered v7, v1 and live UUID validator.//CSV.JSONBi-directional CSV to JSON converter with custom delimiters & table grid.//COLORS.STUDIOHEX/RGB/HSL/CMYK converter, palette harmonies and WCAG 2.1 contrast tester.//SEO.METASEO Meta Tags, Open Graph cards and real-time Google SERP card preview.//SCHEMA.JSONLDSchema.org JSON-LD structured data generator for Google Rich Snippets.//SITEMAP.XMLStandard XML Sitemap generator (Protocol 0.9) for Google Search Console.//ROBOTS.TXTRobots.txt generator, AI scraper blocking presets and live URL rule tester.//FAKE.DATASynthetic mock data generator: export records to JSON, CSV, SQL and TypeScript.//CLOCK.WORLDReal-time world clock with 3D holographic globe and 174 country timezones.//DATE.CALCDays between dates, exact age, business days, Unix timestamp and cron parser.//CALC.SUITESuite of 56+ online calculators: percentage, mortgage, loan, VAT, BMI & salary.//JSON.FORMATHub of five tools: format, validate, minify, convert to XML, and compare two JSON documents.//REGEX.TESTERReal-time regular expressions tester, cheatsheet, debugger and replacer.//PDF.SUITEMerge, split, extract text, rotate and convert PDF pages to images.//IMAGE.STUDIOIn-browser photo editor: crop, resize, filters, WebP/PNG and Base64 encoder.//HTML.BEAUTIFYHTML code beautifier, production minifier and entity encoder.//CSS.MINIFYCSS code formatter, production stylesheet minifier and CSS to SCSS converter.//SQL.FORMATTERSQL query beautifier, dialect translator (Postgres/MySQL) and minifier.//SVG.EXCALIDRAWInteractive vector visual editor powered by Excalidraw and SVG formatter.//TEXT.DIFFWord counter, reading time estimator and dual-text diff comparator.//YAML.CONVERTYAML & JSON bi-directional validator and formatter with syntax checking.//XML.PARSERXML document formatter, tree inspector and XML to JSON converter.//GRAPHQL.STUDIOGraphQL query & SDL formatter, minifier, AST field sorter and validator.//BASE64.CODECBase64 and URL-Safe encoder / decoder with full UTF-8 verification.//PASSWORD.GENCryptographically secure random password and entropy strength generator.//URL.STUDIO8-tool URL suite: encode, decode, validator, component parser and builder.//QR.STUDIOCustom QR code generator with embedded logos, colors, gradients and shapes.//ASCII.EXPLORERInteractive ASCII 0-255 table, Alt keyboard codes and CP437 symbols.//KEYCODES.LIVELive KeyboardEvent detector and JavaScript keycodes cheat sheet.//JWT.DEBUGGERJWT token decoder, claims inspector and Web Crypto signature verification.//BINARY.CODECBidirectional text to binary converter with digital rain and ASCII table.//CHARTS.STUDIOInteractive chart generator (bars, lines, pie, scatter) from CSV data.//UUID.V7Bulk generator for UUID v4, time-ordered v7, v1 and live UUID validator.//CSV.JSONBi-directional CSV to JSON converter with custom delimiters & table grid.//COLORS.STUDIOHEX/RGB/HSL/CMYK converter, palette harmonies and WCAG 2.1 contrast tester.//SEO.METASEO Meta Tags, Open Graph cards and real-time Google SERP card preview.//SCHEMA.JSONLDSchema.org JSON-LD structured data generator for Google Rich Snippets.//SITEMAP.XMLStandard XML Sitemap generator (Protocol 0.9) for Google Search Console.//ROBOTS.TXTRobots.txt generator, AI scraper blocking presets and live URL rule tester.//FAKE.DATASynthetic mock data generator: export records to JSON, CSV, SQL and TypeScript.//CLOCK.WORLDReal-time world clock with 3D holographic globe and 174 country timezones.//DATE.CALCDays between dates, exact age, business days, Unix timestamp and cron parser.//CALC.SUITESuite of 56+ online calculators: percentage, mortgage, loan, VAT, BMI & salary.//
MODULE 04 · SECURITY

Password Tools

Generate secure customized passwords and evaluate cryptographic entropy.

Generated password24 chars
Length
// Technical guide & specifications

Technical guide: entropy in bits, CSPRNGs and the NIST SP 800-63B rules

How password strength is actually calculated, why the random source matters, and which practices NIST retired.

1. The formula H = L × log2(N) and what it actually measures

For a password drawn at random from an alphabet of N symbols with length L, entropy is H = L × log2(N) bits. Across the 94 printable ASCII characters, log2(94) ≈ 6.55 bits per character: 12 characters yield 78 bits and 16 characters yield 105 bits. Shrink the alphabet to lowercase letters and digits (N = 36, 5.17 bits per character) and you need 21 characters to reach the same 105 bits. The formula only holds when every character is drawn independently and uniformly: "Summer2024!" is 11 characters long, yet its effective entropy sits near 20 bits because it follows a pattern hashcat rules reproduce in seconds.

2. CSPRNGs: why Math.random() fails and what modulo bias is

Math.random() in V8 uses xorshift128+, a generator with 128 bits of state built for speed. It returns 52-bit doubles, and its internal state can be reconstructed from a handful of consecutive outputs, letting an attacker predict the sequence in both directions. The correct primitive is crypto.getRandomValues(), fed by the operating system CSPRNG. One classic mistake survives even then: bytes[i] % alphabet.length introduces modulo bias whenever 256 is not a multiple of the alphabet length. With 94 characters, 256 = 2 × 94 + 68, so the first 68 symbols appear with probability 3/256 and the remaining 26 with 2/256, a third less often. The fix is to reject bytes above the largest clean multiple and resample.

3. What NIST SP 800-63B requires and which habits it removed

The NIST SP 800-63B revision dropped three inherited habits: mandatory composition rules (at least one uppercase, one digit and one symbol), scheduled expiry without evidence of compromise, and knowledge-based security questions. Instead it requires accepting 8 to at least 64 characters, allowing all printable ASCII plus Unicode, never truncating the input, and screening every new password against breached-credential lists. For storage it demands a salted key derivation function with a tunable cost factor — PBKDF2, bcrypt, scrypt or Argon2id — never bare SHA-256, plus rate limiting on failed attempts. Forced rotation is reserved for cases where a breach is actually suspected.

// Architecture & best practices

❓ Frequently asked questions about password strength

How many bits of entropy do I actually need?

It depends on how the hash is stored. A modern GPU tries on the order of 10^11 candidates per second against unsalted MD5 or SHA-1, but only a few thousand per second against bcrypt at cost factor 12. Below 50 bits a password falls within days against a fast hash; 80 bits rules out any realistic offline attack, and 128 bits is the usual margin for master passwords and signing secrets.

Random string or passphrase: which is stronger?

The same formula compares them. Six words drawn at random from the 7776-entry Diceware list give 6 × log2(7776) ≈ 77.5 bits, essentially matching 12 random full-ASCII characters (78 bits). The passphrase takes about 28 characters to type but is memorable; the short string is preferable when a password manager holds it. What matters is that the words come from a CSPRNG rather than from human choice.

Do symbols or letter-to-digit substitutions add real security?

Growing the alphabet from 62 to 94 characters adds log2(94/62) ≈ 0.6 bits per character: on a 12-character password that is roughly 7 bits, the same as appending one more character. Substitutions such as "a" to "@" or "o" to "0" add nothing measurable, because dictionary attacks apply exactly those mutation rules before falling back to brute force. Extra length always beats extra complexity.

Related generators and utilities