pobcrypt

Pobcrypt is an application written in D that allows you to encrypt and decrypt files using the AES algorithm. It supports the encryption and decryption of text files, requiring a specific key and initialization vector (IV). Based on [Crypto]


Home Back Clone

Pobcrypt - Encryption and Decryption in D

Pobcrypt is an application written in D that allows you to encrypt and decrypt files using the AES algorithm. It supports the encryption and decryption of files, requiring a specific key and initialization vector (IV). Based on Crypto

Features

  • Encrypts and decrypts text files.
  • Uses AES algorithm with PKCS5 padding.
  • Supports encryption and decryption modes via command-line parameters.

Usage

Example:

pobcrypt --mode crypt --iv 1234567890123456 --key secret1234567890 --filename test.txt

where:

    "key" is a aes key (min 16 bytes) 
    "iv", is a inizialization vector (16 bytes)
    "mode" crypt, decrypt, geniv or genkey (genkey and geniv generate random key and random iv)   
    "filename" File to crypt or decrypt,

Encrypting text from standard input

To encrypt text from stdin, run pobcrypt like this:

echo "my text"| ./pobcrypt --mode crypt --iv 1234567890123456 --key secret1234567890 --filename stdin

Requirements

  • crypto modules for cryptography.

Downloads

Releases


Powered by Code, a simple repository browser by Fabio Di Matteo