Documentation
¶
Index ¶
Constants ¶
View Source
const ( Version = "NastySecrets v1.3.0" UsageMenu = Version + ` Usage: nastysecrets [arguments] [options] Arguments: -e Perform encryption -d Perform decryption -p Folder to encrypt/decrypt its files recursively -v Print the current version Options: -n Rename files to 'temp' for added privacy Default: false -t How many files to encrpyt/decrypt simultaneously Default: 8 Values: [1-25] -o Path to write the config file to Default: . (Current directory) -c Config file's path for decryption or re-using an old key Mandatory for decryption More information: man nastysecrets ` )
NastySecret's information
View Source
const ( EEncryptionAndDecryption = iota + 1 ENoEncryptionOrDecryption EConfigFileNotFound ECantOpenFile EInvalidKeyLength ENoPathProvided EPathInvalid EPathIsFile ENoFilesFound EOutputPathInvalid EThreadsAmountLessThanOne EThreadsAmountUnsafe EVersionFlagNotAlone ENoFlagProvided )
Error enums Errors beging with 'E' for better accessability
View Source
const ( Encryption = iota + 1 Decryption ShowVersion )
Operation enum
Variables ¶
View Source
var ValidKeyLengths = [3]int{16, 24, 32}
Valid key lengths
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.