moving crypto dir to java common folder