by tptacek · 7y ago · 0 comments
For example, Rust's main AES implementation requires you to delve into details you shouldn't care about in order to get it to work. It doesn't let you just pass in Vec<u8> bytes and get Vec<u8> back out. It doesn't even let you put it through a converter functions to match the library's internal representation.
No, you have to learn low level details of how to instantiate a special fixed-size mutable buffer type and then figure out how to manage that and maintain proper ownership when extracting.
https://docs.rs/rust-crypto/0.2.36/x86_64-apple-darwin/crypt...
EDIT: yep, not touched since 2016.
I'm not a crypto expert, but I asked someone who is and he pointed me to https://docs.rs/miscreant/0.4.2/miscreant/aead/trait.Aead.ht...
Tink from Google is making good progress.
Libsodium is often mentioned as having a good API.
PS: it's not just frameworks. Languages like Rust and Go are doing huge things as well for developers.
Only pointing that out, because apparently this was a big deal on Twitter a couple weeks back, where one group of experts were arguing that you weren't a real security expert without being able to code, and the other group arguing the contrary.
This is like taking drivers ed from someone who can't drive. In theory you could reiterate material you had read on the matter and some material may even be of value but only a fool would learn to drive from someone who can't.
The fact that not everyone is willing or able to see the emperor is a nudist doesn't mean his threads are real.