Firefox extension that provides a context menu to take the hash (MD5, SHA) of selected text in the browser.
Supports MD5, SHA; using crypto-api
-
Hashes of selected multi-line text will differ between Windows and macOS/Linux hosts, because of text line-ending encoding. This is not a bug per se, something to be aware of.
-
Doesn't work on
raw.githubusercontent.com
page text. (Bug) -
Older versions of Firefox may strip whitespace from the edge of selected text. The hash and text displayed is still correct but doesn't correspond exactly to the selected text with whitespace included.
This extension doesn't collect any information whatsoever, it runs totally locally.
You can read the code.
I don't care about collecting your data.
Generated using https://github.com/web-ext-labs/ui-tool
Thanks to https://github.com/mdn/webextensions-examples/blob/ec731d4ceee1df0ccdebd87ab9f95875f55eeee7/menu-demo/background.js for steering me in the right direction.