Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Ed25519 key generation
Fixes #6 Add support for Ed25519 key generation in the MPVSS implementation. * **src/mpvss.rs** - Import `ed25519_dalek` crate for Ed25519 key generation. - Add `KeyAlgorithm` enum to represent key generation algorithms. - Update `MPVSS` struct to include `key_algorithm` field. - Add `generate_ed25519_keypair` function to generate Ed25519 key pairs. - Update `generate_private_key` and `generate_public_key` functions to support both original and Ed25519 algorithms. * **README.md** - Update "Initialization" section to include Ed25519 key generation. - Add a note about Ed25519 key generation in the "In the futures" section. * **tests/mpvss_tests.rs** - Add `test_ed25519_key_generation` function to verify Ed25519 key generation. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/AlexiaChen/mpvss-rs/issues/6?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information