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?

http://www.example-code.com/delphi/3des.asp

asked Feb 09 '15 at 07:54

chilkat's gravatar image

chilkat ♦♦
11.8k316358420


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.

link

answered Feb 09 '15 at 08:10

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×64
×2

Asked: Feb 09 '15 at 07:54

Seen: 832 times

Last updated: Feb 09 '15 at 08:10

powered by OSQA