Calculate the SHA1 128-bit digest on an application. To display the digest when building the application in NBEclipse, go to the project properties and add -D to the compcode flags.