integritychain / fips205

Pure Rust implementation of FIPS 205 Stateless Hash-Based Digital Signature Standard for server, desktop, browser and embedded applications.
Apache License 2.0
6 stars 1 forks source link

Expose method to get public key from private key like in FIPS 204 #4

Open codespree opened 4 hours ago

codespree commented 4 hours ago

Hi,

As exposed in your FIPS 204 crate. A method to get the public key would be very helpful

Thanks.

integritychain commented 4 hours ago

This is a recent addition: https://docs.rs/fips205/0.4.0/fips205/slh_dsa_sha2_128f/struct.PrivateKey.html#method.get_public_key

Is it what you need?

codespree commented 4 hours ago

Yes. Thanks!

On Thu, 17 Oct 2024, 09:18 integritychain, @.***> wrote:

This is a recent addition:

https://docs.rs/fips205/0.4.0/fips205/slh_dsa_sha2_128f/struct.PrivateKey.html#method.get_public_key

Is it what you need?

— Reply to this email directly, view it on GitHub https://github.com/integritychain/fips205/issues/4#issuecomment-2418296251, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR5NNL2O3256FO6YYP4PVPTZ34F6TAVCNFSM6AAAAABQCTKLGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJYGI4TMMRVGE . You are receiving this because you authored the thread.Message ID: @.***>