feat: Merge isohash functionality into smarthash for cross-environment hash support
- Updated test files to use new tapbundle import from @git.zone/tstest. - Created a new plan for merging isohash into smarthash, detailing objectives and implementation steps. - Added browser-specific tests for SHA256 hashing functions in test/test.browser.ts. - Implemented browser-compatible hashing functions in ts_web/index.ts using Web Crypto API. - Introduced plugins for environment detection and JSON handling in ts_web/plugins.ts. - Ensured that existing smarthash functionality remains intact and consistent across environments.
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
"githost": "code.foss.global",
|
||||
"gitscope": "push.rocks",
|
||||
"gitrepo": "smarthash",
|
||||
"description": "Provides simplified access to Node.js hash functions, including SHA256 and MD5, with support for strings, streams, and files.",
|
||||
"description": "Cross-environment hash functions (SHA256 and MD5) for Node.js and browsers, with support for strings, streams, and files.",
|
||||
"npmPackagename": "@push.rocks/smarthash",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
@ -15,6 +15,9 @@
|
||||
"MD5",
|
||||
"security",
|
||||
"node.js",
|
||||
"browser",
|
||||
"cross-environment",
|
||||
"web crypto",
|
||||
"stream hashing",
|
||||
"file hashing",
|
||||
"synchronous hashing",
|
||||
|
Reference in New Issue
Block a user