
Posted In: Java Core, Security
How to generate a random alpha-numeric string
Creating a random string with A-Z and 0-9 Techniques used 1. Apache Commons RandomStringUtils 2. SecureRandom and com.google.common.io.BaseEncoding 3. UUID.randomUUID() 4. https://www.random.org/strings/ In all these methods if you are using these strings for security and do not to take any chance with uniqueness then I suggest store it in DB with unique constraint or add […]
Read More
Posted In: Security
How to encrypt Password/String using Bouncy castle library
Bouncy castle library Maven bcprov-jdk16
Read More
Posted In: Apache, Commons, Security
How to encrypt Password/String using Apache Crypto
Apache Crypto library Maven commons-crypto Original Example
Read More
Posted In: Security
How to encrypt Password/String using Jasypt library
Jasypt library provide multiple methods to encrypt a password Maven jasypt
Read More
Posted In: Apache, Commons, Security
How to encrypt Password/String using Apache Codec
Apache codec provide multiple methods to encrypt a string Maven commons-codec
Read More- Apache (13)
- Build Tools (2)
- Gradle (2)
- Caching (1)
- cpanel (1)
- cURL (1)
- Database (7)
- Hibernate (5)
- Java Core (38)
- Java Script (15)
- Bootstrap (1)
- File Upload (7)
- jQuery (3)
- React (3)
- JEE (13)
- JSON (41)
- GSON (13)
- Jackson 1X (1)
- Jackson 2X (12)
- jsoniter (1)
- Logging (2)
- Apache Commons Logging (1)
- Apache Log4J (1)
- Logback (1)
- SLF4J (1)
- MongoDB (1)
- OS (1)
- Linux (1)
- Security (5)
- Server (4)
- Tomcat (4)
- Service (2)
- Micro (2)
- Spring (46)
- Pattern (2)
- Spring Boot (20)
- Spring Data (4)
- Spring MVC (8)
- Spring REST (13)
- Spring Security (7)
- Testing (11)
- XML (5)
- JDOM XML Parser (1)