Digest
{{ hash_type }} Salt {{ salt_position }} {{ uppercase ? 'Uppercase' : 'Lowercase' }}
{{ historySummary }}
# When Input (chars) Type Case Salt Digest Copy
{{ i+1 }} {{ formatWhen(r.ts) }} {{ r.input_len }} {{ r.hash_type }} {{ r.uppercase ? 'UPPER' : 'lower' }} {{ r.salt ? r.salt + ' (' + r.salt_position + ')' : '—' }} {{ r.digest }}
No entries yet. Click Save to add the current digest.

            

Introduction:

Hash symbol drawn as a grid of strokes.

Cryptographic hash digests are compact fingerprints of text that help you check whether content stayed the same after copying or sharing. A quick text checksum generator lets you confirm matches without exposing the original content.

You provide text and optionally a short salt, then choose a digest family and read the hex result. Save a few results to compare later, or copy a digest to paste into notes or tickets.

A simple example is pasting a message, adding a salt to separate environments, then confirming that two teammates see the same digest. If numbers do not match, recheck the exact text and the salt choice.

Keep whitespace consistent and avoid accidental line breaks for reliable comparisons. Hashes confirm integrity but not authorship, so use them as a quick check rather than proof of identity.

Technical Details:

Hash digests summarize text into a fixed‑size hexadecimal string. This tool computes a deterministic digest of the provided text, with an optional salt added as a prefix or suffix before hashing, and presents the result in lowercase by default with an uppercase display option.

Available families are MD5, SHA‑1, SHA‑2 and SHA‑3 in common widths, and RIPEMD‑160. The algorithm choice changes the mapping but the rule is the same: identical inputs under the same options yield identical digests; any change in text, salt, or salt position yields a different digest.

Results are shown as hexadecimal; the uppercase switch changes representation only. The random salt button creates 16 random bytes and encodes them to hex for convenience. History records are stored locally and can be de‑duplicated by digest when comparing runs.

d= hex(H(t)) d= hex(H(concat(s,t))) if prefix d= hex(H(concat(t,s))) if suffix
Symbols and units
Symbol Meaning Unit/Datatype Source
t Input text string User
s Optional salt string (empty allowed) User or random 16‑byte generator
H Selected hash function MD5, SHA‑1, SHA‑2, SHA‑3, RIPEMD‑160 Control
d Digest hex string (lowercase/uppercase) Derived
pos Salt position "prefix" or "suffix" Control
Worked example: Let t = “demo” and s = “abc”. With prefix, the input becomes “abcdemo”; with suffix, it becomes “demoabc”. The resulting hex string differs between these two cases and matches exactly for identical settings on another device.

Variables & parameters

Available parameters
Parameter Meaning Unit/Datatype Typical Range Sensitivity Notes
Hash type Digest family enumeration MD5; SHA‑1; SHA‑2‑224/256/384/512; SHA‑3‑224/256/384/512; RIPEMD‑160 High Default is SHA‑2‑256
Salt Optional string string empty to short hex High Random button yields 16‑byte hex
Salt position Where salt is added enum prefix; suffix High Changes the resulting digest
Output casing Hex display case boolean lowercase or UPPERCASE None Representation only

Units, precision & rounding

  • Digest shown as hexadecimal; lowercase by default; uppercase affects display only.
  • No rounding applies; output length depends on algorithm width.
  • String handling follows the platform’s text semantics; encoding is not explicitly set in code.

Validation & bounds from code

Validation rules
Field Type Min Max Step/Pattern Notes
Text string 0 Digest updates instantly
Salt string 0 Neutral default: empty
Salt position enum prefix | suffix Concatenation order
Output casing boolean Affects display only

Networking & storage behavior

  • History persists in local storage under the key text_hash_history_v1.
  • Each record stores id, ts (milliseconds), input_len, hash_type, uppercase, salt, salt_position, and digest.
  • Results are computed on the device; no requests are sent with your text.

Diagnostics & determinism

  • Identical text, salt, position, and algorithm produce identical digests.
  • Uppercase toggle does not change the underlying value.
  • De‑duplicate mode compares digests to hide repeats in history.

Security considerations

  • Digests are one‑way and cannot reveal the original text.
  • Equality shows unchanged content under the same settings; it does not prove authorship.
  • This is not a password‑hashing facility; no key‑stretching or memory‑hard parameters are applied.

Assumptions & limitations

  • Heads‑up Input is text only; files are not hashed directly.
  • Heads‑up Salt is simple string concatenation, not mixed or encoded.
  • Random salt uses 16 bytes; length is not configurable in the UI.
  • Encoding is implicit; multi‑language text follows platform string rules.
  • No streaming; very large inputs may reduce responsiveness.
  • History stores metadata and digests, not the original text.
  • De‑duplication is by digest only; different inputs with same digest would collapse.
  • Time stamps are local and formatted via the device locale.

Edge cases & error sources

  • Leading or trailing spaces change the digest.
  • Different newline conventions change results.
  • Tabs, non‑breaking spaces, or invisible characters are significant.
  • Emoji and combining marks follow JavaScript string semantics.
  • Changing salt position alters the digest even with the same salt.
  • Empty salt reverts to an unsalted digest.
  • Clipboard permission errors can block copy actions.
  • Clearing site storage deletes saved history.
  • Private sessions may limit storage persistence.
  • Local storage quota exhaustion prevents new saves.
  • Very large inputs can momentarily freeze the UI.

Privacy & compliance

No data is transmitted or stored server‑side. History is kept on your device and can be cleared at any time.

Step‑by‑Step Guide:

Hash digests measure text integrity. Follow these steps to create and compare a digest.

  1. Paste or type the Text.
  2. Choose a Hash type.
  3. Optionally set a Salt and select prefix or suffix.
  4. Toggle Uppercase if you need capitalized hex.
  5. Copy the digest or Save it to the local history.
  6. Use Table or JSON to review, copy, or download your records.

Example: Enter “demo”, add salt “abc” as suffix, then copy the digest to compare with a teammate.

  • Pro tip: keep whitespace identical, including any trailing newline.

FAQ:

Is my data stored?

Only digests and small metadata are saved in local storage. The original text is not stored, and you can clear history any time.

Which algorithms are available?

MD5; SHA‑1; SHA‑2‑224, ‑256, ‑384, ‑512; SHA‑3‑224, ‑256, ‑384, ‑512; and RIPEMD‑160.

What does uppercase change?

Only the display of the hexadecimal digits. The underlying digest value is the same.

How do I compare two values?

Compute both with the same algorithm, salt, and position. Equality means the inputs match under those settings.

Does adding a salt improve security?

Salting separates contexts but does not convert these digests into password hashing. Avoid using this for password storage.

Can I use it offline?

Computation happens on your device. Once loaded, creating digests does not require sending your text anywhere.

Are there input size limits?

No explicit size limit is enforced in code, but very large text may reduce responsiveness on some devices.

Will history include my text?

No. History stores length, settings, and the digest, not the original text.

Troubleshooting:

  • Digest changes when shared: verify salt, position, and algorithm.
  • Copied value rejected elsewhere: check for stray spaces or line breaks.
  • History missing: ensure local storage is allowed and not cleared.
  • Copy button does nothing: allow clipboard permissions and retry.
  • JSON download empty: save at least one record first.
  • Slow typing: clear very large text or restart the session.

Advanced Tips:

  • Tip Save a baseline digest, then use de‑duplication to spot true changes.
  • Tip Include a fixed salt per environment to avoid cross‑mixups.
  • Tip Keep a short note beside a saved digest to remember its purpose.
  • Tip Use uppercase when pasting into systems that enforce that style.
  • Tip Reuse the same settings to compare results across devices.
  • Tip Export JSON to archive a session’s settings and digests together.

Glossary:

Digest
Fixed‑size summary of input, shown as hexadecimal.
Hash function
Deterministic mapping from text to a digest.
Salt
Extra text added to separate contexts or reduce reuse.
Prefix/Suffix
Concatenation point for salt relative to text.
Hexadecimal
Base‑16 digits 0–9 and A–F representing bytes.
Collision
Different inputs producing the same digest.