New Tab Crypto
Replaces your new tab page with a page that hashes any text you type using SHA-256.
Runs on Chrome, Edge, Firefox · Manifest V3 · Surfaces: new tab, background service worker · Styling: CSS · Level: beginner
Create this project
npx extension@latest create my-newtab-crypto --template newtab-crypto
cd my-newtab-crypto
npm install
npm run dev
What it is for
- Hashing text with the Web Crypto API inside an extension
- A new tab page that does real work with no network
- Reference for browser crypto primitives under MV3
First steps
- Run npm run dev to launch the extension
- Open a new tab and type any text to see its SHA-256 hash
- Edit src/newtab/scripts.ts to hash with a different algorithm
Permissions it asks for
This template requests no permissions.
Source on GitHubDocumentation
extension.devDocumentation for extension.dev