This Java application provides encryption and decryption functionality using the StandardPBEStringEncryptor class from the Jasypt (Java Simplified Encryption) library. The application supports various encryption algorithms and allows the user to choose between encrypting and decrypting text inputs.
- Encryption: Encrypt a plaintext string using a specified algorithm.
- Decryption: Decrypt an encrypted string using the same algorithm used for encryption.
- Algorithm Selection: Choose from a variety of supported encryption algorithms.
- Error Handling: Display error messages for invalid inputs and terminate the program gracefully.
The application supports the following encryption algorithms:
PBEWithMD5AndDESPBEWithMD5AndTripleDESPBEWithSHA1AndDESedePBEWithSHA1AndRC2_40PBEWithSHA1AndRC2_128PBEWithSHA1AndRC4_40PBEWithSHA1AndRC4_128PBEWithSHA256And128BitAES-CBC-BC(requires Bouncy Castle provider)PBEWithSHA256And192BitAES-CBC-BC(requires Bouncy Castle provider)PBEWithSHA256And256BitAES-CBC-BC(requires Bouncy Castle provider)
- Clone the Repository:
git clone https://github.com/your-username/encryption-decryption-app.git cd encryption-decryption-app