#secret-sharing #authenticated #recovery #crystal #dark #key #authenticated-encryption

dark-crystal-secret-sharing-rust

Shamirs secret sharing with authenticated recovery

4 releases

0.2.2 Jul 20, 2022
0.2.1 Jul 18, 2022
0.1.1 Mar 14, 2022
0.1.0 Mar 14, 2022

#6 in #crystal


Used in 3 crates (via dark-crystal-key-backup-r…)

GPL-3.0-or-later

12KB
239 lines

dark-crystal-secret-sharing-rust

This is part of a work-in-progress Rust implementation of the Dark Crystal Key Backup Protocol.

This crate provides basic authenticated secret-sharing, allowing you to know if recovery was successful.

Internally this uses sharks for Shamirs secret sharing and xsalsa20poly1305 for authenticated encryption.


lib.rs:

Secret sharing with authentication

Internally this uses sharks for Shamirs secret sharing.

This is part of a work-in-progress Rust implementation of the Dark Crystal Key Backup Protocol.

Dependencies

~2MB
~31K SLoC