Common string encryption

Michael Goffioul goffioul at imec.be
Tue May 20 10:33:50 BST 2003


> There is KRES::Resource::encryt/decryptStr() in libkresources. This certainly
> isn't the best location so I would be happy to move it to an more appropriate
> location. KStringHandler would probably ok. As these functions use a
> symmetric encrption, it might also be a good idea to use only one function
> "QString KStringHandler::cryptString( const QString & )". Would that fit your
> needs?

Yes, exactly! I was not aware this was present at that location.
However, putting it at a more standard location (like KStringHandler)
would avoid me to add a dependency on kresource to my CUPS plugin.
Is there any issue moving it to KStringHandler?

Michael.

-- 
------------------------------------------------------------------
Michael Goffioul		IMEC-DESICS-MIRA
e-mail: goffioul at imec.be	(Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510		Kapeldreef, 75
Fax:    +32/16/28-1515		3001 HEVERLEE, BELGIUM
------------------------------------------------------------------
This e-mail and/or its attachments may contain confidential
information.  It is intended solely for the intended addressee(s). 
Any use of the information contained herein by other persons is
prohibited.  IMEC vzw does not accept any liability for the contents
of this e-mail and/or its attachments.
------------------------------------------------------------------




More information about the kde-core-devel mailing list