decrypting a file

Accidentally, I encrypted a file while saving it in vi editor.
While saving I used :X and when asked for encryption key, I simply pressed ENTER key without any input.

I searched the forum, but unfortunately didn't get the proper solution. In one of the threads it asked to visit a particular link which I couldn't access.

Can anybody please help me.

Regards,
Ravi.

Read the man page on vi.

It should have the following:

If an empty encryption key is entered
(that is, if the return key is pressed right after the
prompt), the file will not be encrypted.

If you can cat the file and see the contents without decryption, then it is not encrypted.