ShieldX Toolly
Open a tool Donate
Home Home
Blog Blog
FAQ FAQ
Open a tool Donate
37 tutorials Free

Learn security by building it

Hands-on tutorials that teach you how to build real security tools using the Web Crypto API. No servers, no sign-ups, no dependencies — just your browser and the same primitives that power TLS handshakes.

Step-by-step Copy-paste code 100% client-side
37 Tutorials
100% Browser-only
0 Sign-ups
tutorial / generate-password.js Secure
1const charset = 'ABCD…xyz!@#$';
2const buf = new Uint8Array(16);
3crypto.getRandomValues(buf);
4// 94^16 ≈ 2^105 bits of entropy
5const pw = [...buf]
6  .map(b => charset[b % charset.length])
7  .join('');
Output K7$mP9!nQw2#vR4x 105 bits
Start here

The best place to begin — no prior cryptography knowledge required.

All tutorials

Browse by topic

Filter by category to find exactly what you need.

Intermediate
Passwords

Measure password entropy the honest way

Stop guessing strength with green bars. Calculate log2(charset^length), translate to crack-time, and build a meter that tells the truth.

22 min 10 steps Start
Intermediate
Privacy

Check password breaches without leaking them

Implement the k-anonymity model used by Have I Been Pwned. SHA-1 hash locally, send 5 characters, match the suffix in your browser.

18 min 7 steps Start
Intermediate
Web Security

Inspect SSL/TLS certificates like a pro

Parse certificate chains, identify weak ciphers, detect imminent expiry, and grade any domain from A+ to F with a stateless worker.

25 min 12 steps Start
Beginner
Web Security

Configure security headers for any web server

CSP, HSTS, X-Frame-Options, Referrer-Policy, Permissions-Policy — set them up on Nginx, Apache, and Cloudflare with copy-paste configs.

20 min 9 steps Start
Beginner
Cryptography

Hash files and text with the Web Crypto API

Use crypto.subtle.digest() for SHA-256/384/512, read files with FileReader, and compare hashes — all without a single network request.

12 min 6 steps Start
Beginner
Cryptography

Generate RFC 4122 UUIDs in the browser

Create v4 random UUIDs and v7 time-ordered UUIDs with crypto.getRandomValues(). Bulk-generate, format, and export — no dependencies.

10 min 5 steps Start
Advanced
Privacy

Query DNS records over HTTPS with DNSSEC

Replace plaintext DNS with encrypted DoH queries. Validate DNSSEC signatures, support multiple resolvers, and handle every record type.

30 min 14 steps Start
Advanced
Developer

Build security tools that never touch a server

The architecture behind ShieldX. When zero-server-contact works, when it does not, and how to design a stateless proxy for the exceptions.

35 min 16 steps Start
Intermediate
Cryptography

Implement HMAC signing for API authentication

Sign requests with crypto.subtle.sign() using HMAC-SHA256. Verify signatures, prevent replay attacks, and avoid common pitfalls.

20 min 8 steps Start
Advanced
Privacy

Detect tracking pixels on any website

Scan a page for Google Analytics, Facebook Pixel, TikTok, and 40+ trackers. Compare against the privacy policy and flag undisclosed tracking.

28 min 11 steps Start
Beginner
Developer

Encode and decode Base64 with UTF-8 safety

Handle Unicode correctly in btoa/atob, convert files to Base64 data URIs, and implement the URL-safe variant — all client-side.

14 min 7 steps Start
Beginner
Passwords

Generate EFF Diceware passphrases in the browser

Load the 7,776-word EFF list, pick words with crypto.getRandomValues() and rejection sampling, calculate real entropy, and add custom separators.

12 min 6 steps Start
Intermediate
Cryptography

Decode JWTs and detect alg:none attacks

Split a JWT into header/payload/signature, base64url-decode each part, flag alg:none vulnerabilities, and validate exp/iat/nbf claims — all client-side.

18 min 9 steps Start
Intermediate
Privacy

Detect phishing URLs with punycode analysis

Parse URLs, detect IDN homograph attacks via punycode, flag suspicious TLDs, trace redirect chains, and identify subdomain spoofing patterns.

22 min 10 steps Start
Intermediate
Web Security

Verify email authentication with SPF, DKIM, and DMARC

Query DNS for SPF, DKIM, and DMARC records, count SPF lookups, check alignment, and flag misconfigurations that allow email spoofing.

20 min 9 steps Start
Intermediate
Cryptography

Generate and compare bcrypt hashes for password storage

Hash passwords with adjustable cost factors, compare hashes for verification, and understand why bcrypt beats SHA-256 for password storage.

16 min 8 steps Start
Intermediate
Web Security

Calculate CVSS v3.1 vulnerability scores interactively

Select Attack Vector, Complexity, Privileges, User Interaction, Scope, and CIA impacts to compute base scores and generate vector strings.

15 min 7 steps Start
Beginner
Web Security

Analyze cookie security flags and score posture

Parse Set-Cookie headers, check HttpOnly, Secure, and SameSite flags, detect missing protections, and generate a security score with fix recommendations.

10 min 5 steps Start
Intermediate
Web Security

Check CORS configurations for misconfigurations

Verify Access-Control-* headers, detect origin reflection, check Allow-Credentials with wildcard origins, and list allowed methods.

14 min 7 steps Start
Beginner
Cryptography

Generate secure API keys and secrets with CSPRNG

Create cryptographically random API keys, tokens, and secrets of arbitrary length in hex, Base64, and URL-safe formats using crypto.getRandomValues().

8 min 4 steps Start
Beginner
Cryptography

Identify hash types by length and format patterns

Detect MD5, SHA-1, SHA-256, bcrypt, Argon2, and 60+ other hash types by analyzing length, character set, and structural patterns with confidence scoring.

10 min 5 steps Start
Beginner
Web Security

Trace redirect chains to find the final destination

Follow HTTP 301/302/307/308 redirects hop by hop, detect redirect loops, identify status codes at each step, and reveal the true destination URL.

12 min 6 steps Start
Beginner
Web Security

Query WHOIS/RDAP domain registration data

Use the RDAP API to retrieve registrar, creation date, expiry, name servers, and status flags for any domain — with structured JSON parsing.

10 min 5 steps Start
Intermediate
Cryptography

Encrypt and decrypt text with AES-GCM in the browser

Derive a 256-bit key from a passphrase using PBKDF2, encrypt with AES-GCM and a random IV, and decrypt with authenticated error handling — all client-side.

20 min 10 steps Start
Beginner
Cryptography

Generate bias-free random numbers with crypto.getRandomValues()

Create uniform random integers, shuffle lists with Fisher-Yates, and roll virtual dice — all without modulo bias and entirely in the browser.

12 min 6 steps Start
Intermediate
Privacy

Parse email headers and trace the sender path

Decode Received headers hop by hop, verify SPF/DKIM/DMARC authentication results, and detect email spoofing — all from raw header text.

18 min 9 steps Start
Beginner
Developer

Encode and decode URLs with percent-encoding safety

Master encodeURIComponent vs encodeURI, handle Unicode in URLs, and build a batch encoder that processes hundreds of URLs at once.

10 min 5 steps Start
Intermediate
Web Security

Evaluate Content-Security-Policy headers for vulnerabilities

Parse CSP directives, detect unsafe-inline and unsafe-eval, identify missing report-uri, and generate fix recommendations with severity scoring.

16 min 8 steps Start
Beginner
Web Security

Verify HSTS headers and check preload eligibility

Inspect Strict-Transport-Security headers, validate max-age, check includeSubDomains and preload directives, and test preload list readiness.

10 min 5 steps Start
Intermediate
Privacy

Decode QR codes and detect phishing URLs inside them

Parse QR code images with jsQR, extract embedded URLs, run phishing detection with punycode analysis, and combat the 587% rise in quishing attacks.

20 min 10 steps Start
Intermediate
Web Security

Discover subdomains via Certificate Transparency logs

Query crt.sh for Certificate Transparency entries, deduplicate results, identify potential takeover targets, and map a domain’s attack surface.

18 min 8 steps Start
Advanced
Web Security

Scan open ports and identify exposed services

Check TCP ports on any host, identify running services from port numbers, detect potential attack surface, and batch-scan multiple hosts.

25 min 11 steps Start
Beginner
Web Security

Geolocate IP addresses and find ISP/ASN data

Query IP geolocation APIs client-side, extract country, city, ISP, ASN, and abuse contact info, and build an IP intelligence dashboard.

12 min 6 steps Start
Beginner
Web Security

Detect mixed content on HTTPS pages

Scan pages for HTTP resources loaded over HTTPS, identify passive vs active mixed content, and generate fix recommendations for each violation.

12 min 6 steps Start
Beginner
Web Security

Check CAA records to control which CAs can issue certificates

Query Certificate Authority Authorization DNS records, parse issue/issuewild/iodef tags, and verify that only authorized CAs can issue certs.

10 min 5 steps Start
Beginner
Web Security

Check domain age for trust and fraud assessment

Query RDAP for domain creation dates, calculate age in years, check expiry countdowns, and use registration age as a fraud indicator.

8 min 4 steps Start
Ready to build?

Put theory into practice

Every tutorial runs entirely in your browser. No installations, no accounts, no API keys. Open a tool and start learning in seconds.

Open tools Read the guide
No signup · No tracking · No data leaves your browser