This project contains many useful utility classes developed by the fine folks at H9Labs, the research and development arm of Hyper9.

Maven2

H9Labs Common is available via the lostcreations Maven2 repository. The groupID is com.h9labs and its artifcatID is h9labs-common. The working version is 0.1.0-SNAPSHOT.

Utility Classes

H9Labs Common contains many useful utility classes.

AES

The AES class makes it simple to encrypt and decrypt plain text using a user-provided encryption key.

AnnotationUtils

This class provides methods for working with Java Annotations, such as the ability to determine if a method is decorated with an annotation at the class level, the super-class level, or even at the interface level.

Base64

Another class for encoding and decoding Base64 strings.

BitMask

A helper class for working with bit masks.

Crc16

A class for computing CRC 16 hashes.

Function

A simple callback functor class.

Hex

This class provides methods to encode and decode to and from Hex-16 strings.

HttpClient

A simple HTTP client class.

Math

Another Math utility class.

MD5

A class for computing MD5 hashes.

StringUtils

Yet another String utility class.

ThrowableUtils

This class provides helpful methods for working with Throwables, such as a method to return a Throwable's stack trace as a string.