Almost completely working decryption for random seeds