rustpq / pqcrypto

Rust Post-Quantum cryptography
212 stars 38 forks source link

documentation error #49

Closed oilel closed 1 year ago

oilel commented 1 year ago

https://docs.rs/pqcrypto/latest/pqcrypto/kem/kyber1024/index.html The example code says "use pqcrypto_kyber::kyber1024::;", but we should use pqcrypto::kem::kyber1024::; otherwise the compiler will not compile the code.

thomwiggers commented 1 year ago

This is an artifact of the way that this module is included in the pqcrypto project. I need to think about how I can make it more accurately reflected in the pqcrypto crate.