Java CommonUtils

October 09, 2012

CommonUtils is a utility library for Java which provides common set of functionalities that are required in most of the web applications. Functions include; plaintext/file to hash-code generation, validating form fields, generating random CAPTCHA challenges, and many other stuff.

Overview

While working on several Java projects, I observed a common set of features that I needed to use in my projects, some of it were for hashing (MD5 or SHA1) on strings and files, CAPTCHA, field validations etc. So I ended up creating a small utility in Java which provides all those implementations with simplified usage that any beginner to intermediate Java developer can adopt.

CommonUtils can be used directly by including its JAR file in to your project libraries. Once included, it provides two main packages org.commonutils.util for utility classes and org.commonutils.security for Security-related classes.

View Project on GitHub