Create encrypt & decrypt with Springboot
Prerequisites
- Dev Tools
- Lombok
- Bouncy Castle
The application will have the following encryption following:
- DES/Triple DES [Encrypt - Decrypt]
- AES (128, 192, 256) [Encrypt - Decrypt]
- RSA (512, 1024, 2048, 4096) [Encrypt - Decrypt]
- Blowfish [Encrypt - Decrypt]
- Twofish [Encrypt - Decrypt]
- MD5 [Encrypt]
- SHA-2 (224, 256, 384, 512, 512/224, 512/256) [Encrypt]
- SHA-3 (224, 256, 384, 512) [Encrypt]
- GOST [Encrypt - Decrypt]
Install sonarqube on docker
docker pull sonarqube
Do this following step
- Open http://localhost:9000/ and create project manually
- Create your desire name
- In this case, will run on local side
- Setup the expiry token
- Since running on maven,copy and open cmd on project directory,then paste the script with a bit modify to add
mvn sonar:sonar -Dsonar.projectKey=encrypt-decrypt -Dsonar.projectName='encrypy-decrypt' -Dsonar.host.url=http://localhost:9000 -Dsonar.token=sqp_536bd65f5049002ef75534e84bee369f59f73842 -Dsonar.java.binaries=target/classes
- Let's analyze the project
- Make the code as clean as possible
Open cmd on your project directory
docker-compose up --build