Updated signature decryption algorithm