Java Library for authenticating application based on machine dependent keys