Added License header, added javadoc to decrypt method.