[−][src]Function rustbook::encrypt_decrypt::split
fn split(in_fn: String)
decryption
- arguments: input file name
- Get contents of the input file
- Generate random string with same length of the contents of the input file
- XOR to encrypt the input contents
- Write to two share files as outputs