Comments (3)
Ah, the conversion looks ideal, I didn't know about it! Yeah, I think the Message
type is not needed in that case and just having &[u8; 32]
would be good enough, thanks!
from ethsign.
It might be a good approach although it would make the API a bit less user-friendly.
Since arrays are what's used I suspect that it fits the API better but then the user of the crate should manually convert a slice to a fixed-length array.
There is an impl of TryFrom for slice to array so it's not that bad.
from ethsign.
Thank you as well for taking the time to review this idea 😋
from ethsign.
Related Issues (13)
- Support scrypt for key-derivation. HOT 1
- Support for saving files HOT 5
- Add quickCheck and test enc/dec and sign/verify
- See if it's worth introducing `lazy_static` HOT 1
- ethsign-crypto 0.1.0 from crates.io causes compile failure with ethsign 0.7.1 HOT 2
- Signature verification is very slow. HOT 2
- Can you consider supporting the generation of the keyfile with the Scrypt algorithm? HOT 1
- Switch to k256 crate
- key.to_secret_key is slow HOT 2
- How to verify signature with original message and eth address? HOT 2
- new release HOT 3
- ScretKey::sing & Signature::recover returned error
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 ethsign.