Modified -d option and fixed bugs
The problem is, if the string includes mixture of
encrypted string and Unecrypted string, it will throw an error
because some non-hexadecimal string will go into decrypting function.
So I provided a solution to that problem