Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>HashforgeNew to Visual Studio Code? Get it now.
Hashforge

Hashforge

AddonLogic

| (0) | Free
Generate MD5, SHA-1, SHA-256, and SHA-512 hashes from the selected text.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Hashforge

Turn any selected text into its cryptographic hash digest, right inside the editor. Select, run a command, and the selection is replaced with the hex digest — no copy-paste to an online tool.

Features

  • MD5 of Selection — 128-bit MD5 digest, useful for file checksums and legacy fingerprints.
  • SHA-1 of Selection — 160-bit SHA-1 digest, common in version control and older integrity checks.
  • SHA-256 of Selection — 256-bit SHA-2 digest, the modern default for integrity and signatures.
  • SHA-512 of Selection — 512-bit SHA-2 digest, for the longest fixed-length fingerprint.

All digests are computed from the UTF-8 bytes of the selected text using Node's built-in crypto module.

Usage

  1. Select the text you want to hash. With nothing selected, Hashforge uses the word under the cursor.
  2. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
  3. Run one of: Hashforge: MD5 of Selection, Hashforge: SHA-1 of Selection, Hashforge: SHA-256 of Selection, or Hashforge: SHA-512 of Selection.
  4. The selection is replaced with the hexadecimal digest.

Multiple cursors are supported — each selection is hashed independently in a single edit.

Settings

  • hashforge.uppercase (boolean, default false) — output the hex digest in uppercase when enabled.

A note on security

MD5 and SHA-1 are provided for checksums, fingerprints, and legacy compatibility. They are not collision-resistant and should not be used for security-sensitive purposes such as password storage or digital signatures. Prefer SHA-256 or SHA-512 where security matters.

License

Released under the MIT License. See the LICENSE file for details.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft