<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Comments for Encrypting and Decrypting strings in Delphi.</title>
<link rel="alternate" type="text/plain" href="http://dn.codegear.com/article/28325" title="Encrypting and Decrypting strings in Delphi." />
<link rel="self" type="application/atom+xml" href="http://dn.codegear.com/article/28325/feed" title="Comments for Encrypting and Decrypting strings in Delphi." />
<id>http://dn.codegear.com/article/28325</id>
<updated>2008-11-21T15:20:06-08:00</updated>
<entry>
<title>Encrypting and Decrypting strings in Delphi.</title>
<author>
<name>Fernando Carvalho</name>
<uri>http://threads.codegear.com/threads/threads.exe/userall?commentid=41225</uri>
</author>
<id>http://threads.codegear.com/threads/threads.exe/view?commentid=41225</id>
<updated>2008-06-25T16:05:27-07:00</updated>
<published>2008-06-25T16:05:27-07:00</published>
<summary>Encrypting and Decrypting strings in Delphi.</summary>
<content>thanks a lot for this simple and functional function.so,regardsFernando Carvalho</content>
</entry>
<entry>
<title>re: Encrypting and Decrypting strings in Delphi.::Modification</title>
<author>
<name>Robin Martain</name>
<uri>http://threads.codegear.com/threads/threads.exe/userall?commentid=39052</uri>
</author>
<id>http://threads.codegear.com/threads/threads.exe/view?commentid=39052</id>
<updated>2006-05-14T21:12:50-07:00</updated>
<published>2006-05-14T21:12:50-07:00</published>
<summary>re: Encrypting and Decrypting strings in Delphi.::Modification</summary>
<content>Thanks Aniket,A simple modification for good results.  Cheers.Robin.</content>
</entry>
<entry>
<title>Encrypting and Decrypting strings in Delphi.</title>
<author>
<name>Roland Illig</name>
<uri>http://threads.codegear.com/threads/threads.exe/userall?commentid=34398</uri>
</author>
<id>http://threads.codegear.com/threads/threads.exe/view?commentid=34398</id>
<updated>2003-04-03T07:32:40-07:00</updated>
<published>2003-04-03T07:32:40-07:00</published>
<summary>Encrypting and Decrypting strings in Delphi.</summary>
<content>If the encrypted string contains a #0, it will be cut at that position when assigned to Edit1.Text, as this is handled as a C string. So you cannot encode strings that contain #255 (&#255;).</content>
</entry>
<entry>
<title>Encrypting and Decrypting strings in Delphi.::Modification</title>
<author>
<name>Aniket Bhatt</name>
<uri>http://threads.codegear.com/threads/threads.exe/userall?commentid=34076</uri>
</author>
<id>http://threads.codegear.com/threads/threads.exe/view?commentid=34076</id>
<updated>2003-02-10T00:53:20-08:00</updated>
<published>2003-02-10T00:53:20-08:00</published>
<summary>Encrypting and Decrypting strings in Delphi.::Modification</summary>
<content>This method would be more effective if modified slightly. Following is the modified version of EnDeCrypt function. It makes the resultant character dependent on position so Strings like 'AAAAA' generates different characters for each 'A'.function TForm1.EnDeCrypt(const Value : String) : String;var  CharIndex : integer;begin  Result := Value;  for CharIndex := 1 to Length(Value) do    Result[CharIndex] := chr(not(ord(Value[CharIndex]) + CharIndex ));end;</content>
</entry>
</feed>
