Robert,

Look at this article it covers encrypting strings and moves onto
streams:

http://msdn.microsoft.com/library/en-us/dnnetsec/html/cryptosimplified.a
sp?frame=true

I spent a good while looking at cryptography in .NET but as you have
found most of it relates to processing large streams. Simply encrypting
a string is called hashing which is much easier to do. In fact most the
cryptography examples I looked at created a string hash to merge into
the encrypted streams, I just didn't realise I was already doing the
string encryption I needed, doh!


Michael Darling
Senior Solutions Developer
ROOM Solutions Ltd
mailto:[EMAIL PROTECTED]


-----Original Message-----
Robert Meek [mailto:[EMAIL PROTECTED] asked:
>       Actually I am using NET and the algorithms I'm trying to use are
those provided by the clr.  It seems to have available just about
anything I might need except as I said they all work with a MemoryStream
and byte variables.  I tried typecasting but that didn't seem to work
and I don't know if I can substitute a different stream type...but I'll
give it a try and see what happens.  One thing though, it seems a
terrible waste to use a stream just for a single string of perhaps 8
chars, but I haven't had any luck finding any specific string handling
encryption routines...good ones...that can be used in NET except for
paid libraries.
*******************************************************************
CONFIDENTIALITY NOTICE/DISCLAIMER
This email and any attachments are confidential, protected by 
copyright/intellectual property rights and may be legally privileged. The 
information transmitted is intended only for the person or entity to which it 
is addressed.  If you are not the intended recipient, dissemination or copying 
of this email is prohibited.
If you have received this in error, please notify us by forwarding this email 
to the following address: [EMAIL PROTECTED] , and then delete the email 
completely from your system.
This email and any attachments have been scanned for computer viruses by a 
market leading anti-virus system. However, it is the responsibility of the 
recipient to conduct its own security measures. No responsibility is accepted 
by ROOM Solutions Limited for loss or damage arising from the receipt or use of 
this email and any attachments.
No responsibility is accepted by ROOM Solutions Limited for personal emails.
ROOM Solutions Ltd, http://www.roomsolutions.net
********************************************************************
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to