Skip to content

ImageCrypto is a Ruby-based encryption tool that uses an image and a secret key (from an environment variable) to generate a cryptographic key. It employs AES-256-CBC encryption to securely encrypt and decrypt messages, offering a unique, image-driven approach to data protection.

License

Notifications You must be signed in to change notification settings

profadevairvitorio/ImageCrypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageCrypto is a Ruby-based encryption tool that uses an image and a secret key to generate a cryptographic key. It employs AES-256-CBC encryption to securely encrypt and decrypt messages.

Features

  • Derives a cryptographic key from an image and a secret key (stored in .env).
  • Encrypts and decrypts messages using AES-256-CBC encryption.
  • Uses Base64 encoding for handling image data.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/imagecrypto.git
    cd imagecrypto
  2. Install dependencies:

    bundle install
  3. Set up environment variables by creating a .env file in the root directory:

    SECRET_KEY=your_secret_key

About

ImageCrypto is a Ruby-based encryption tool that uses an image and a secret key (from an environment variable) to generate a cryptographic key. It employs AES-256-CBC encryption to securely encrypt and decrypt messages, offering a unique, image-driven approach to data protection.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages