NAME

pkcs5-tool - PKCS#5 Password-Based Encryption Tools

SYNOPSIS

pkcs5-tool [OPTIONS]

Options:
      --help                Brief help message
      --man                 Full documentation
      --version             Print version
  -v, --verbose             Verbose

      --algorithm           PBE algorithm
      --list-algorithms     List PBE algorithms

  -0, --null                Return NULL char instead of new line

      --password            Password
      --input               Input data
    
      --encrypt             Encrypt some data
      --decrypt             Decrypt some data

Examples:

    Encrypt:

        pkcs5-tool --algorithm PBEWithHmacSHA1AndAES_128 --password mypassword --input secret --encrypt

    Decrypt:

        pkcs5-tool --algorithm PBEWithHmacSHA1AndAES_128 --password mypassword --input <Base64 encrypted data> --decrypt

    Read input from STDIN:

        echo -n "secret" | pkcs5-tool --algorithm PBEWithHmacSHA1AndAES_128 --password mypassword --encrypt
        pkcs5-tool --algorithm PBEWithHmacSHA1AndAES_128 --password mypassword --encrypt < /path/of/secret

DESCRIPTION

pkcs5-tool PKCS#5 Password-Based Encryption Tools

AUTHOR

Giuseppe Di Terlizzi

COPYRIGHT AND LICENSE

Copyright © 2018-2021 Giuseppe Di Terlizzi

You may use and distribute this module according to the same terms that Perl is distributed under.