Documentation ¶
Overview ¶
24 september 2016
23 october 2015
Index ¶
Constants ¶
View Source
const ( AskReal = "-real" AskOnce = "-askonce" AskOnly = "-onlyask" AskDefault = "-default" )
View Source
const AskerDescription = "" + "This specifies a KEK to decrypt the key sector with. " + "This argument can be one of the following strings:\n" + "- " + AskReal + " to use the default KEK and then ask for a password until the correct one is used, just like the main decrypt command\n" + "- " + AskOnce + " to ask for a password once and only use the resultant KEK\n" + "- " + AskOnly + " to only ask for passwords until the correct one is used\n" + "- " + AskDefault + " to only use the default KEK\n" + "Any other string is taken as a hexadecimal string to use as the KEK."
Variables ¶
View Source
var Default = []byte{
0x03, 0x14, 0x15, 0x92, 0x65, 0x35, 0x89, 0x79, 0x32, 0x38, 0x46, 0x26, 0x43, 0x38, 0x32, 0x79,
0xFC, 0xEB, 0xEA, 0x6D, 0x9A, 0xCA, 0x76, 0x86, 0xCD, 0xC7, 0xB9, 0xD9, 0xBC, 0xC7, 0xCD, 0x86,
}
View Source
var Default128 = []byte{
0x03, 0x14, 0x15, 0x92, 0x65, 0x35, 0x89, 0x79, 0x2B, 0x99, 0x2D, 0xDF, 0xA2, 0x32, 0x49, 0xD6,
}
I don't know when this is used, but have it here it anyway
Functions ¶
func FromPassword ¶
Don't mind the weird loop here; we're imitating Unlock.exe.
Types ¶
Click to show internal directories.
Click to hide internal directories.