Hashing API

Here is the Hashing API I have written as part of my GSoC project. Also added a  check of policy files for JCE in JCELoader. 
JUnit 4 [ExpectedException](http://junit.org/javadoc/4.9/org/junit/rules/ExpectedException.html) annotations apply here too.