swift
Public Member Functions | Static Public Member Functions | List of all members
swift::misc::CObfuscation Class Reference

Utility class to obfuscate strings in the source code to make them unreadable. More...

Public Member Functions

 CObfuscation ()=default
 Constructor.
 

Static Public Member Functions

static QString decode (const QString &inString, bool trimmed=true)
 Decode string if it has the prefix, otherwise do nothing with it.
 
static QString encode (const QString &inString, bool trimmed=true)
 Encode string and return with prefix.
 
static const QString & prefix ()
 Prefix to be used with obfuscated string.
 

Detailed Description

Utility class to obfuscate strings in the source code to make them unreadable.

Remarks
this is no real security, but as the name says just obfuscation. The sole purpose of this class is to remove potentially strings from the source code

Definition at line 18 of file obfuscation.h.


The documentation for this class was generated from the following files: