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.  

from: Robert Meek at: [EMAIL PROTECTED] 
dba "Tangentals Design" home of "PoBoy"
freeware Windows apps and utilities
located at: www.TangentalsDesign.com
Proud to be a moderator for the
"Delphi Programming Lists" at: elists.org 

AnsiStrings are made up of bytes. Simply extract a character and 
type-cast it to Byte.

Not that if you're using .Net, the string type is an alias for 
WideString, not AnsiString, and so characters are no longer single bytes.

If you can encrypt a stream, then you can encrypt a string by using a 
TStringStream in place of whatever other steram you might use.

-- 
Rob
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to