Common string encryption

Cornelius Schumacher schumacher at kde.org
Tue May 20 10:41:39 BST 2003


On Dienstag, 20. Mai 2003 11:33, Michael Goffioul wrote:
> > 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?

Not from my side and following Waldos suggestion I would propose to name it 
"obscureString()".

-- 
Cornelius Schumacher <schumacher at kde.org>





More information about the kde-core-devel mailing list