added crypto javadoc