Skip to content

Key Preferences

Nikos Vourdas edited this page Jan 19, 2025 · 3 revisions

About

🚦 Semi mandatory command-line flag.

ℹ️ This section defines the key size preferences. Supernova automatically generates a random passphrase for you, suitable for the appropriate ciphers, and does not allow the use of your own passphrase. The default value for the -key command-line flag is 1.

ROT Key

🔔 Optional command-line flag.

For ROT encoding, the -key flag functions as the shift value. For example, using -key 3 will perform ROT encoding with a shift of 3.

XOR/RC4 Key

🔔 Optional command-line flag.

For XOR and RC4 encryptions, the -key flag specifies the passphrase length. For example, using -key 4 will generate a random passphrase with 4 bytes.

AES Key

🔔 Mandatory command-line flag.

For AES encryption, the -key flag behaves slightly differently. It acts as a pointer to specify which AES encryption to use. The generated passphrase value is always random. The accepted values for any AES-CBC cipher are as follows:

Key Value Alias Key Value AES-CBC Type
128 16 AES-128-CBC
192 24 AES-192-CBC
256 32 AES-256-CBC

⚠️ If you provide any key number other than the above values, the AES encryption will not work, and you will receive the following error message:

AES Key Usage Error

CHACHA20 Key

🔔 Mandatory command-line flag.

For ChaCha20 encryption, the -key command-line flag ONLY ACCEPTS the value 32.

⚠️ If you provide any key number other than the 32 value, the ChaCha20 encryption will not work, and you will receive the following error message:

Chacha20 Key Usage Error

Obfuscation & Key

⚠️ For standard obfuscation techniques, the key command-line flag is irrelevant. So, no need to use it.

Clone this wiki locally