Expand description
A rust crate for parsing, encrypting and decrypting SFDL container files.
§Example
// Reading a SFDL file from a file
let mut sfdl = SfdlFile::from_file("examples/decrypted.sfdl").unwrap();
// Encrypting the SFDL file
sfdl.encrypt("password").unwrap();
// Writing the encrypted SFDL file back to a file
sfdl.write("encrypted.sfdl").unwrap();
// Decrypting the SFDL file
sfdl.decrypt("password").unwrap();
// Writing the decrypted SFDL file back to a file
sfdl.write("decrypted.sfdl").unwrap();
For detailed information consult the docs.