Fixed signature generation in Cryptography.java