Versions in this module Expand all Collapse all v0 v0.1.0 Dec 31, 2021 Changes in this version + 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 interface + Decrypt func(globalSalt, masterPwd []byte) (key []byte, err error) + func NewASN1PBE(b []byte) (pbe ASN1PBE, err error) + type DATA_BLOB struct + func NewBlob(d []byte) *DATA_BLOB + func (b *DATA_BLOB) ToByteArray() []byte + type LoginPBE struct + CipherText []byte + Encrypted []byte + func (l LoginPBE) Decrypt(globalSalt, masterPwd []byte) (key []byte, err error) + type LoginSequence struct + IV []byte + type MetaPBE struct + Encrypted []byte + func (m MetaPBE) Decrypt(globalSalt, masterPwd []byte) (key2 []byte, err error) + type MetaSequenceA struct + PKCS5PBES2 asn1.ObjectIdentifier + type MetaSequenceB struct + type MetaSequenceC struct + PKCS5PBKDF2 asn1.ObjectIdentifier + type MetaSequenceD struct + AES256CBC asn1.ObjectIdentifier + IV []byte + type MetaSequenceE struct + EntrySalt []byte + IterationCount int + KeySize int + type MetaSequenceF struct + HMACWithSHA256 asn1.ObjectIdentifier + type NssPBE struct + Encrypted []byte + func (n NssPBE) Decrypt(globalSalt, masterPwd []byte) (key []byte, err error) + type NssSequenceA struct + DecryptMethod asn1.ObjectIdentifier + type NssSequenceB struct + EntrySalt []byte + Len int