nettle 7.5.0

Rust bindings for the Nettle cryptographic library
Documentation
1
2
3
4
5
6
7
8
9
//! Prints a list of optional algorithms and whether they are
//! supported.

fn main() {
    let (major, minor) = nettle::version();
    println!("Nettle {}.{}", major, minor);
    println!("Cv448: {:?}", nettle::curve448::IS_SUPPORTED);
    println!("OCB: {:?}", nettle::aead::OCB_IS_SUPPORTED);
}