login about faq

We are working with below example for DES/TDES encryption. The example uses an ANSI string input whereas we need to use HEX data input. Can you please let us know (possibly with example code) how to do this?


asked Feb 09 '15 at 07:54

chilkat's gravatar image

chilkat ♦♦

Starting in v9.5.0.47, the Crypt2's Charset property can now also be “hex” or “base64″ , which allows for binary (non-text) encoded data to be passed to any method where the input data is a string. Rather than converting to an actual charset (such as utf-8, iso-8859-1), the binary data is decoded, and the decoded bytes are passed to the underlying encryptor, hashing, signing, etc.


answered Feb 09 '15 at 08:10

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Feb 09 '15 at 07:54

Seen: 1,668 times

Last updated: Feb 09 '15 at 08:10

powered by OSQA