Add new parameter to give an option for indicating if the provided key is in hexadecimal format or plain text based on that parameter action will be using different encoding (HexNumber or ASCIIEncoding)to generate encoded key.