בס״ד

Security Tools

DNSX Security Tools are five free web utilities for handling credentials: a random password generator, a Diceware passphrase generator, a batch generator that makes up to 50 of either with a one-time link for each, a hash generator covering MD5, SHA-1, SHA-256, SHA-512 and bcrypt, and a one-time secret link that is encrypted in your browser and destroyed once its view limit is reached. Each one also answers curl with JSON. No account, no ads, no tracking cookies.

How do I use these tools from the command line?

$ curl https://api.dnsx.dev/tools/password
$ curl "https://api.dnsx.dev/tools/password?length=32&symbols=false"
$ curl https://api.dnsx.dev/tools/passphrase
$ curl "https://api.dnsx.dev/tools/passphrase?words=6&separator=_"
$ curl "https://api.dnsx.dev/tools/password/batch?count=10&length=20"
$ curl -X POST https://api.dnsx.dev/tools/hash -d '{"text":"hello"}'

The API lives at api.dnsx.dev. Older dnsx.dev paths keep working for a year.

Which security tool do I need?

Pick by what you are doing with the credential, not by algorithm:

If you need to…UseWhy
Create a credential you will never type from memoryPassword GeneratorMaximum entropy per character. Store it in a password manager.
Create a credential you must type from memory (a master password, a disk-encryption key)Passphrase GeneratorWhole words are far easier to memorise and type accurately at the same strength.
Issue initial passwords to many people at once, or seed a password managerBatch GeneratorUp to 50 values in one run, each with its own one-time link, copied or downloaded as CSV.
Verify a download, compare a checksum, or see what a password hash looks likeHash GeneratorMD5, SHA-1, SHA-256, SHA-512 and bcrypt computed side by side from one input.
Send an existing credential to another personOne-Time SecretThe link stops working once its view limit is used, so the secret never sits in a mailbox or chat history.

How are these values generated, and what is stored?

Every password and passphrase is generated fresh for your request using advanced cryptographic random generation, and every hash is computed from the text you submit at that moment. The result is delivered to you over an encrypted connection and is not stored or logged. Nothing you generate is kept once the response has been sent.

The one-time secret tool works the other way round. Your plaintext is encrypted in your browser with AES-256-GCM, and the key is placed in the URL fragment after the # sign, which browsers never send to a server. DNSX stores only ciphertext it has no key for, and destroys it once the link has been opened as many times as you allowed (one view by default) or its expiry passes.

No tool here requires an account, sets a tracking cookie, or serves an advertisement.

Network Diagnostic Tools