Hashing
Random String
Generate secure random strings, passwords, and API keys.
How to use it
- Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type Random String and press Return.
- No input is needed. Set the options you want.
- Adjust the Options on the right if you need to. The defaults are listed below.
- Press Generate, or ⌘↵.
- Use Copy or ⇧⌘C to copy the result. ⌘L clears everything.
The OpenSSL Base64 and OpenSSL Hex presets make keys in the same format as openssl rand -base64 and openssl rand -hex. Length is the number of random bytes, like the number in the openssl command, so 32 gives a 44-character Base64 key or 64 hex characters. They're generated inside Devly with Apple's secure random generator; nothing runs in Terminal.
Options
| Option | Values | Default |
|---|---|---|
| LengthNumber of characters to generate | 4–256 | 32 |
| QuantityNumber of strings to generate | 1–50 | 1 |
| PresetCharacter set preset | Custom, Password, API Key, PIN, Hex, Alphanumeric, OpenSSL Base64, OpenSSL Hex | Password |
| Lowercase (a-z)Include lowercase letters | On or off | On |
| Uppercase (A-Z)Include uppercase letters | On or off | On |
| Digits (0-9)Include numbers | On or off | On |
| Symbols (!@#$...)Include special characters | On or off | On |
| Exclude ambiguous (0OIl1)Remove characters that look similar | On or off | Off |
Example
Real output from Devly, with the default options.
Input
(none, default options)
v1^.On^VAPEH[vvy<qrX(EbKoG+tNC4H
From Terminal
With the free command-line tool installed:
Terminal
devly randomstring # or pipe text in pbpaste | devly randomstring
Quick Switch also finds it by: random, string, password, api, key, generator, secure, token.
More Hashing tools
Hash GeneratorGenerate MD5, SHA-1, SHA-256, and other hashesHMAC GeneratorGenerate HMAC signatures for message authenticationPassword HashGenerate secure password hashes with PBKDF2ChecksumCalculate CRC32, CRC16, and Adler-32 checksumsUUID GeneratorGenerate UUIDs in various formatsULID GeneratorGenerate time-sortable unique identifiers (ULID)