#decode #decryption

jd-decrypter

A decryption library for JDownloader files

1 unstable release

0.1.1 Sep 5, 2018
Download history 6/week @ 2018-09-05

2 downloads per month

MIT license

70KB
129 lines

jd-decrypter

A simple library to decode JDownloader .ejs files.

Usage

Add jd-decrypter as a dependency in Cargo.toml:

[dependencies]
jd-decrypter = "0.1.1"

Use the `jd_decrypter::JdAccountList' to decrypt a .ejs file:

extern crate jd_decrypter;

use std::env;
use jd_decrypter::JdAccountList;

fn main() {
    // loop over all arguments for the programm
    // skip the first one because it's the programm
    // own name
    for arg in env::args().skip(1) {
        // hand over the file path
        let dlc = JdAccountList::from_file(arg);

        // print the result
        println!("Accounts: {:?}", dlc);
    }
}

License

Distributed under the MIT License.


lib.rs:

A simple library to decode JDownloader .ejs files.

Usage

Add jd_decrypter as a dependency in Cargo.toml:

[dependencies]
jd-decrypter = "0.1.0"

Use the jd_decrypter::Decryptor to decrypt a .ejs file:

extern crate jd_decrypter;

use std::env;
use jd_decrypter::JdAccountList;

fn main() {
    // loop over all arguments for the programm
    // skip the first one because it's the programm
    // own name
    for arg in env::args().skip(1) {
        // hand over the file path
        let dlc = JdAccountList::from_file(arg);

        // print the result
        println!("Accounts: {:?}", dlc);
    }
}

License

Distributed under the MIT License.

Dependencies

~5.5MB
~83K SLoC