Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Inline HasherNew to Visual Studio Code? Get it now.
Inline Hasher

Inline Hasher

alexguirre

|
1,132 installs
| (0) | Free
Inserts hashes of the selected text
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Inline Hasher

An extension that allows you to insert hashes of the selected text.

Usage

Commands

The following commands are available:

  • Replace selection with single hash...: allows you to select a hash function and replace every selection with a specified format. %1 is replaced with the original string and %2 is replaced with the hash.
  • Replace selection with multiple hashes...: allows you to replace every selection with a specified format that can include multiple hash functions. %1 is replaced with the original string and %<hash-function>[_^] is replaced the with hash from the function specified by hash-function (see below for available hash functions), and if either suffix, _ or ^, is specified, the string will be converted to lowercase or uppercase respectively before calculating the hash.

Hash Functions

The following hash functions are available:

Name Function
Jenkins one-at-a-time joaat
ELF elf
FNV-1a fnv1a
FNV-1 fnv1
SHA-1 sha1
SHA-224 sha224
SHA-256 sha256
SHA-384 sha384
SHA-512 sha512
MD5 md5

Credits

  • hash.js made by Fedor Indutny licensed under the MIT License.
  • ts-md5 made by CoTag Media licensed under the MIT License.
  • Icon made by Freepik from www.flaticon.com licensed under CC 3.0 BY.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft