Documentation ¶
Index ¶
- func ChromeDecrypt(password, masterKey []byte) ([]byte, error)
- func Decrypt(data []byte) ([]byte, error)
- func GetFireFoxKey(path string) (item1, item2, a11, a102 []byte, err error)
- func GetFireFoxLoginData(path string) (loginData []core.LoginStruct, err error)
- func GetMasterKey(dataPath string) ([]byte, error)
- func PKCS5UnPadding(src []byte) []byte
- func PaddingZero(s []byte, l int) []byte
- type ASN1PBE
- type DATA_BLOB
- type LoginPBE
- type LoginSequence
- type MetaPBE
- type MetaSequenceA
- type MetaSequenceB
- type MetaSequenceC
- type MetaSequenceD
- type MetaSequenceE
- type MetaSequenceF
- type NssPBE
- type NssSequenceA
- type NssSequenceB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChromeDecrypt ¶
func GetFireFoxKey ¶
func GetFireFoxLoginData ¶
func GetFireFoxLoginData(path string) (loginData []core.LoginStruct, err error)
func GetMasterKey ¶
func PKCS5UnPadding ¶
func PaddingZero ¶
Types ¶
type ASN1PBE ¶
func NewASN1PBE ¶
type DATA_BLOB ¶
type DATA_BLOB struct {
// contains filtered or unexported fields
}
func (*DATA_BLOB) ToByteArray ¶
type LoginPBE ¶
type LoginPBE struct { CipherText []byte LoginSequence Encrypted []byte }
type LoginSequence ¶
type LoginSequence struct { asn1.ObjectIdentifier IV []byte }
type MetaPBE ¶
type MetaPBE struct { MetaSequenceA Encrypted []byte }
type MetaSequenceA ¶
type MetaSequenceA struct { PKCS5PBES2 asn1.ObjectIdentifier MetaSequenceB }
type MetaSequenceB ¶
type MetaSequenceB struct { MetaSequenceC MetaSequenceD }
type MetaSequenceC ¶
type MetaSequenceC struct { PKCS5PBKDF2 asn1.ObjectIdentifier MetaSequenceE }
type MetaSequenceD ¶
type MetaSequenceD struct { AES256CBC asn1.ObjectIdentifier IV []byte }
type MetaSequenceE ¶
type MetaSequenceE struct { EntrySalt []byte IterationCount int KeySize int MetaSequenceF }
type MetaSequenceF ¶
type MetaSequenceF struct {
HMACWithSHA256 asn1.ObjectIdentifier
}
type NssPBE ¶
type NssPBE struct { NssSequenceA Encrypted []byte }
type NssSequenceA ¶
type NssSequenceA struct { DecryptMethod asn1.ObjectIdentifier NssSequenceB }
type NssSequenceB ¶
Click to show internal directories.
Click to hide internal directories.