A rust implementation of the memfrob function from GNU C Library.
use memfrob::memfrob;
fn main() {
let mut buffer = [42; 15];
memfrob(&mut buffer);
// buffer is now frobnicated.
}
Please note that this function is not useable for encryption - see the note on the manpage.