Skip to content

adrgs/rust-aes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-aes

rust-aes 0.1.2
adrgs github.com/adrgs/rust-aes
A pure Rust implementation of AES 128

USAGE:
    rust-aes [FLAGS] [OPTIONS]

FLAGS:
    -d, --decrypt     Decrypt mode
    -e, --encrypt     (Implicit) Encrypt mode
    -g, --generate    Generate a random AES key to use for encryption, the key will be saved to the file key.out
    -h, --help        Prints help information
    -p, --padding     Flag specifies whether the input should be padded/unpadded
    -r, --raw         Read raw bytes from stdin and write raw byte to stdout (default is hex)
    -t, --test        Test the encryption/decryption algorithm
    -V, --version     Prints version information

OPTIONS:
    -f, --file <file>        (Optional) Input file, otherwise input is read from stdin, or from -i option
    -i, --input <input>      (Optional) Encrypt/Decrypt the argument, format: hexadecimal characters, needs to be
                             divisible by 16 if -d flag is present or if -p flag is not present
    -k, --key <key>          The AES key, format: 32 hexadecimal characters
        --kf <keyfile>       Read the AES key from file
    -o, --output <output>    (Optional) Output file, otherwise output is directed to stdout

About

A pure Rust implementation of AES 128

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages