This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Exception in thread "main" java.security.NoSuchAlgorithmException: Cannot find any provider supporting HmacMD5 at javax.crypto.Cipher.getInstance(DashoA6275) at Sample.DataEncrypter.setUp(DataEncrypter.java:30) at Sample.DataEncrypter.main(DataEncrypter.java:5
Apparently you don't have such an implementation available in your classpath.
Try this tip from the Java Developer's Almanac to print out all message digest algorithms available in your classpath. If you need some specific algorithm that's missing, try and see if BouncyCastle has it.