-
Notifications
You must be signed in to change notification settings - Fork 145
Key Preferences
🚦 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
.
🔔 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
.
🔔 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.
🔔 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 |
🔔 Mandatory command-line flag.
For ChaCha20 encryption, the -key
command-line flag ONLY ACCEPTS the value 32
.
32
value, the ChaCha20 encryption will not work, and you will receive the following error message: