Rust encryption

This post looks like a better fit for users.rust-lang.org, so I’m moving it over there: