encrypt_file_java_ecb

Function encrypt_file_java_ecb 

Source
pub fn encrypt_file_java_ecb<P: AsRef<Path>>(
    input_path: P,
    output_path: P,
    public_key_str: &str,
) -> Result<(), RsaUtilsError>
Expand description

Encrypt file using Java-compatible format (AES/ECB mode) This generates files that can be decrypted by Java’s default Cipher.getInstance(“AES”)