How To Generate And Validate A Software License Key Using Java