Try to decrypt only if the key is provided