Documentation
¶
Index ¶
- func ChromePass(key, encryptPass []byte) ([]byte, error)
- func DPApi(data []byte) ([]byte, error)
- func PKCS5UnPadding(src []byte) []byte
- type ASN1PBE
- 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 ChromePass ¶
func PKCS5UnPadding ¶
Types ¶
type ASN1PBE ¶
func NewASN1PBE ¶
type LoginPBE ¶
type LoginPBE struct {
CipherText []byte
LoginSequence
Encrypted []byte
}
LoginPBE Struct SEQUENCE (3 elem)
OCTET STRING (16 byte) SEQUENCE (2 elem) OBJECT IDENTIFIER OCTET STRING (8 byte) OCTET STRING (16 byte)
type LoginSequence ¶
type LoginSequence struct {
asn1.ObjectIdentifier
IV []byte
}
type MetaPBE ¶
type MetaPBE struct {
MetaSequenceA
Encrypted []byte
}
MetaPBE Struct SEQUENCE (2 elem)
SEQUENCE (2 elem)
OBJECT IDENTIFIER
SEQUENCE (2 elem)
SEQUENCE (2 elem)
OBJECT IDENTIFIER
SEQUENCE (4 elem)
OCTET STRING (32 byte)
INTEGER 1
INTEGER 32
SEQUENCE (1 elem)
OBJECT IDENTIFIER
SEQUENCE (2 elem)
OBJECT IDENTIFIER
OCTET STRING (14 byte)
OCTET STRING (16 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
}
NssPBE Struct SEQUENCE (2 elem)
SEQUENCE (2 elem) OBJECT IDENTIFIER SEQUENCE (2 elem) OCTET STRING (20 byte) INTEGER 1 OCTET STRING (16 byte)
type NssSequenceA ¶
type NssSequenceA struct {
DecryptMethod asn1.ObjectIdentifier
NssSequenceB
}
type NssSequenceB ¶
Click to show internal directories.
Click to hide internal directories.