An extension that allows you to insert hashes of the selected text.
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 byhash-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.
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 |
- 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.