SecurityLevel
To make sure, that every project of a customer has a different encryption, Licence Protector offers 2 methods.
Security Level Basic
The security level Basic is mostly used for backward compatibility. It offers only one key for the personal (project specific) encryption - the Project Secure Key (PSK). It is a symmetric method (the same key is used for encryption and decryption).
• | The operations on the license file are very fast |
• | The encryption of the license file itself is save as the encryption methods used are high level standard algorithms |
• | If the Project Secure Key is stolen, a hacker can use the License Generator to create license files |
Settings in the project template: <SecurityLevel>BASIC</SecurityLevel>
Security Level Advanced
If you start a new project, always use the level Advanced. If offers 3 different keys for encryption:
• | Project Secure Key |
• | ReadKey |
• | WriteKey |
The ReadKey is used in the Source Code and allows to decrypt the license file (see commands PrepareAndCheck, Prepare, PrepareAdvanced). The WriteKey is used in the License Generator to encrypt a license file. ReadKey and WriteKey are a key pair and belong together (asymmetric method).
The Project Secure Key is used for additional encryption of Activation Keys.
• | Very safe, as stealing of the ReadKey doesn't allow to built a Generator. The Project Secure Key and the WriteKey will stay in the company, so a hacker could steal only the ReadKey. |
• | The encryption of the license file itself is save as the encryption methods used are high level standard algorithms |
• | The operations on the license file are slower like the operations using the Basic Level |
Settings in the project template: <SecurityLevel>ADVANCED</SecurityLevel>
Additional Topics
See chapter Project Keys how to create the keys.
Make sure that you hide the Project Secure Key / ReadKey in the Source Code.
See also
Personal Encryption
Protected encryption keys
Security considerations
Hide the PSK / ReadKey in the Source Code