Comments (2)
sorry for late response
- you can only pass message after create
// incorrect
hash.update(mykey,'Message one to hash');
// correct
hash.update('Message one to hash');
- the hash will freeze after you fetch result
hash.hex(); // freeze
hash.update('Message two to hash'); // not work
I think it's better to throw an error when users try to modify the frozen data.
from js-sha256.
from js-sha256.
Related Issues (20)
- Conflict with requirejs HOT 11
- Rollupjs build complains about the use of eval in this library. HOT 7
- Outdated typescript definition HOT 6
- Using Salt HOT 1
- Example for File Hash SHA256 ? HOT 1
- One of the test cases for HMAC is "wrong" HOT 1
- Library does not work under strict Content-Security-Policy HOT 2
- Different output on online-tools and while using the lib HOT 2
- How fast is it compared to native ? HOT 3
- When will the version be updated? How often is the update? HOT 3
- How to decrypt HOT 4
- 同学,您这个项目引入了22个开源组件,存在3个漏洞,辛苦升级一下 HOT 1
- Deprecate library and reccomend standardized APIs HOT 12
- Google Chrome 115.0.5790.102 produces incorrect SHA-256 hashes HOT 21
- Sha256
- Generates incorrect hash in some cases HOT 2
- Vend ESM Please
- Set up GitHub release action / provenance
- How to pass the input configs Input Encoding, Output Encoding( UTF-8, HMAC ) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-sha256.