[DUG] Encryption / Decrption

Leigh Wanstead leighw at softtech.co.nz
Tue Jul 11 13:30:55 NZST 2006


I think the real question is how secure it needs to be.

Regards
Leigh
www.smootharm.com

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz
[mailto:delphi-bounces at ns3.123.co.nz]On Behalf Of Phil Middlemiss
Sent: Tuesday, 11 July 2006 1:25 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Encryption / Decrption


There are many ways to do that. You could, for example store the 
password as a collection of constant Byte values and put them together 
as chars when using the password. I use something similar, but not quite 
that. You could convolute it many ways.

Phil.

Robert martin wrote:
> Hi
>
> Yeah my app is actually just encrypt some text and store it in its 
> DB.  It will Decrypt the information for processing purposes.  The 
> DCPcrypt stuff looks great.  However now im left with what to use as a 
> password and how to store that in my app.
>
>
>
>
>
> Rob Martin
> Software Engineer
>
> phone +64 03 377 0495
> fax   +64 03 377 0496
> web www.chreos.com
>
> Wild Software Ltd
>
>
>
> Conor Boyd wrote:
>> No problems.
>>
>> Is your app going to be doing both the encrypting and decrypting at
>> either end?
>>
>> Because if it's not (and the recipient of the encrypted data is using
>> some other standard PKI tool to decrypt the data), then you are going to
>> have to look at certificates and how your app manages them.
>>
>> Good luck.
>>
>> Cheers,
>>
>> Conor
>>
>> -----Original Message-----
>> From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
>> On Behalf Of Robert martin
>>
>> Thanks Conor
>>
>> I am looking at building it into a shipping app so this seems like a bit
>> of a no go.  But thanks for the info :)
>>
>> Conor Boyd wrote:
>>  
>>> Yes, MS does provide a crypto API on most Windows platforms, exposed 
>>> as a COM DLL (known as CAPICOM).  It's based around Certificate 
>>> Services, which you can configure using MMC (Microsoft Management
>>>     
>> Console?).
>>  
>>> To configure Certificate Services, run MMC from the command line, 
>>> choose File, Add/Remove Snap-in, hit the Add button, choose 
>>> Certificates, click OK.
>>>
>>> But you'll then have to go away and read up on certificates, and how 
>>> to use the Crypto API, etc.  Googling should get you a long way there.
>>>
>>> Here are a few links to get you started:
>>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/seccr
>>> yp
>>> to/security/using_capicom.asp
>>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/seccr
>>> yp
>>> to/security/cryptography_objects.asp
>>> http://www.awprofessional.com/articles/article.asp?p=31065&seqNum=1
>>> http://www.seifried.org/security/cryptography/crypto-book/index.html
>>>     
>>
>> _______________________________________________
>> Delphi mailing list
>> Delphi at ns3.123.co.nz
>> http://ns3.123.co.nz/mailman/listinfo/delphi
>>
>>   
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
>




More information about the Delphi mailing list