ed25519-dalek | Fast and efficient ed25519 signing and verification in Rust | Cryptography library
kandi X-RAY | ed25519-dalek Summary
kandi X-RAY | ed25519-dalek Summary
Fast and efficient ed25519 signing and verification in Rust.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ed25519-dalek
ed25519-dalek Key Features
ed25519-dalek Examples and Code Snippets
Community Discussions
Trending Discussions on ed25519-dalek
QUESTION
I've been trying to implement the example given in the following doc: https://docs.rs/ed25519-dalek/1.0.1/ed25519_dalek/
My code is simply:
...ANSWER
Answered 2021-Jan-04 at 12:41Usually when you get these confusing messages saying "trait bound not met" when it's clearly met, or "wrong type" when it's clearly the right type, you should always check package versions. As of right now (ed25519-dalek v1.0.1), it depends on rand 0.7.0 (you can also find this on crates.io). You're using a newer version of rand, with a "newer" version of the trait, and it's looking for the 0.7.0 trait while you supply the 0.8.0 trait.
The solution? Either downgrade rand to 0.7.0 or use dependency renaming to have 2 versions of rand, and use the old version for ec25519-dalek.
QUESTION
I have key addition, for curve secp256k1, working: https://crypto.stackexchange.com/a/83733/17505
...ANSWER
Answered 2020-Sep-18 at 03:07I do not think there is a corresponding rule for key addition in ed25519.
We can see this by looking at how a public key is generated from the private key.
For secp256k1, which is based on DSA we have for a private key x, we have that the public key x is given by
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ed25519-dalek
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page