java work with cryptology