A digest has no key, HMAC uses a secret key to authenticate a message, and bcrypt is a salted password-hashing function. None of these operations is encryption.
Distinguish a digest from authentication
SHA-256 and SHA-512 produce fixed-size digests of exact input bytes. A digest from an untrusted channel does not establish who created a file. HMAC-SHA-256 and HMAC-SHA-512 combine a message with a secret key; anyone who knows that key can produce a valid tag. Keep keys confidential and verify tags with an appropriate constant-time routine.
Treat MD5 as legacy only
MD5 has practical collision weaknesses. It is retained for compatibility with old formats, not signatures, security-sensitive integrity checks or password storage. Fast hashes such as SHA-256 and SHA-512 are also unsuitable by themselves for storing passwords. Base64 or hexadecimal encoding does not make a value secret.
Understand bcrypt limits
bcrypt generates a salted hash and has a separate verification operation. The prototype runs it after an explicit action in a bounded worker, generates at costs 10–12, and rejects inputs over 72 UTF-8 bytes instead of silently truncating. Verification accepts bounded legacy costs; this is not an endorsement of those costs for new databases.
Workspace on this site
The prototype hashes exact UTF-8 text without normalization. Newlines, spaces or different Unicode representations can change the result. It does not hash binary files. This workspace shares utilitiesnewbie.com’s browser origin with the site's public pages. A different path and restrictive document policy do not provide a separate-origin boundary. Application code does not upload or automatically save inputs. Copy and Download are explicit actions that create data outside the workspace. Hosting may add platform scripts, and devices or extensions can access data. Use test values; never enter an existing account password or confidential files. This guide has no secret fields and offers no deterministic master-password feature.
Worked example: Check a public SHA-256 vector
The literal text abc has the UTF-8 bytes 61 62 63 in hexadecimal. With no newline or surrounding quotes, SHA-256 produces the 64 hexadecimal characters below. Adding a newline changes the input bytes and produces a different digest. This public test checks reproducibility, not the identity of a sender.
Worked example: Count bytes, not displayed characters
The precomposed character é (U+00E9) occupies two UTF-8 bytes. Repeating it 36 times gives 36 × 2 = 72 bytes, within this prototype’s bcrypt input limit. Repeating it 37 times gives 74 bytes and must be rejected. The visually similar sequence e + U+0301 uses three bytes; the prototype does not normalize it. These repeated public strings are test data, not password suggestions.
Expected result: 36 × 2 = 72 bytes: accepted by the length check; 37 × 2 = 74 bytes: rejected.
Open workspace
Opens in English. No tool inputs or files are transferred. https://utilitiesnewbie.com/workspace/private/
Record the literal input and its UTF-8 representation before comparing a digest. Distinguish an unkeyed digest from HMAC and from password hashing. A matching public example demonstrates reproducibility; it does not establish a sender’s identity or certify an entire authentication system.
Compare exact bytes, digests and keyed verification
Define what the comparison is meant to show
Start a demonstration with a question that one result can answer. For example, ask whether an implementation reproduces the published SHA-256 value for the exact text abc. That is narrower than asking whether a downloaded file is trustworthy or whether an account is secure. Write the algorithm name and input convention next to the expected result. Without those details, two strings of hexadecimal characters can look comparable while representing entirely different operations.
Keep a test record separate from a security decision. A public teaching input is suitable for checking reproducibility because everyone can know its bytes and expected digest. The same visibility makes it unsuitable as a secret. This guide contains explanations and examples rather than secret-entry fields. It does not operate the linked workspace, verify a real account credential or determine whether a person can safely rely on another service’s implementation.
Treat text and bytes as distinct descriptions
The prototype description says it hashes exact UTF-8 text without normalization and does not hash binary files. A visible text field is therefore not a general file-verification tool. If a source file contains an encoding marker, different line endings or arbitrary binary bytes, retyping what it looks like may produce another byte sequence. Define the transformation before comparing outputs, and avoid claiming that a text demonstration verified a file whose actual bytes were never supplied.
The literal example abc consists of three ASCII characters with the UTF-8 hexadecimal bytes 61, 62 and 63. Surrounding quotation marks in an explanation are not part of that input. A trailing line feed adds another byte, while a space at either end also changes the sequence. State explicitly whether a newline is present rather than relying on how an editor happens to display the final line of a sample.
Use the published digest as a small control
SHA-256 produces a digest with two hundred fifty-six bits. Displayed as two hexadecimal characters per byte, that is sixty-four hexadecimal characters. Counting that length can catch an incomplete copy or an unexpected output format, but it does not confirm the digest’s content. Compare the entire published value on this page for the same input convention. A prefix or a matching character count is an incomplete comparison.
For a useful control pair, compare the documented input with a second public sample that adds a line feed. Record them as separate fixtures with their own byte sequences and expected values. If the implementation disagrees with the first fixture, investigate input bytes and algorithm selection before explaining the result as a cryptographic defect. This method keeps the diagnostic small and avoids needing any confidential message to reproduce the discrepancy.
Keep integrity checks separate from message authentication
An ordinary digest calculation has no secret key. If someone can replace both a message and the digest shown beside it, a matching comparison alone does not establish who supplied either value. The trustworthiness of the expected digest’s source is therefore a separate consideration. A teaching page can demonstrate an equality check without certifying a download channel, a publisher or the identity of a sender.
HMAC uses a shared secret key with a hash-based construction for message authentication. Knowing the message and a public digest is different from knowing the HMAC key. Anyone who holds that shared key can generate a valid tag, so a valid tag does not distinguish one key holder from another. This guide explains the distinction; it does not design a protocol, distribute keys or replace an established verification library.
Make input conventions explicit before HMAC comparison
Two HMAC demonstrations must agree on the algorithm, message bytes, key bytes and output representation before their tags can be compared. A key written as hexadecimal text is not automatically the same input as the bytes represented by that text. Use an entirely public, clearly labeled test key for teaching and specify the interpretation. Never paste a production key into a public guide or issue report to settle an encoding question.
If a report contains only a screenshot of a tag, important input conventions may be missing. Describe those conventions using synthetic fixtures and show expected versus observed output without exposing a real key. Changing several settings at once makes a mismatch harder to locate. Correct one definition at a time, retain the previous observation and use the verification routine intended for the actual protocol rather than treating a manual demonstration as a deployed verifier.
Understand the prototype’s password-hashing boundary
Password hashing has a different purpose from producing a fast message digest. The existing guide distinguishes bcrypt and its verification operation from SHA-256, SHA-512 and HMAC. Current password-storage guidance treats the algorithm and work settings as part of a maintained system. The bounded bcrypt settings described here are prototype behavior, not a recommendation to choose those exact settings for a new database or a claim about a production service.
The page says the prototype rejects bcrypt inputs beyond seventy-two UTF-8 bytes rather than silently truncating them. Its existing example uses thirty-six copies of the precomposed character é to reach seventy-two bytes; thirty-seven copies require seventy-four. The visually similar decomposed form uses another byte sequence. These are public length-boundary examples. They explain a limit without supplying a recommended password, testing account authentication or promising that another implementation handles overlong input identically.
Preserve the disclosed handling limits
The separate workspace shares this site’s browser origin with public pages, as the existing disclosure explains. A different path and restrictive document policy do not create a separate-origin boundary. The public guide has no secret fields and offers no deterministic master-password feature. Read the current availability notice before following the workspace link, and use test values when exploring a behavior whose purpose is only to illustrate exact bytes or output structure.
Application code’s stated lack of automatic upload or saving is narrower than a guarantee about every component of a browsing session. Hosting additions, extensions and the device can affect handling, while deliberate copy or download actions create data outside the workspace. Clearing a display cannot retract an earlier export. Keep a diagnostic limited to public inputs and avoid collecting unrelated logs, account information or files merely because they are available.
Record exactly what passed
A complete demonstration record names the operation, defines every public input, states the encoding and newline convention, identifies the output format and compares the full expected value. If a length boundary is tested, record accepted and rejected cases separately. Label a successful public digest reproduction as that specific result. Do not expand it into a claim that all algorithms, key handling, password storage or third-party service behavior have been verified.
Use the technical references to distinguish algorithm definitions from implementation and operational choices. The Secure Hash Standard describes digest algorithms; the HMAC specification describes a keyed construction; password-storage guidance covers a different application. None makes a screenshot an audit. Preserve the original page’s limits and notices, keep public examples out of real credentials and investigate discrepancies with the smallest synthetic input that demonstrates the actual problem.