MCPcopy
hub / github.com/moonD4rk/HackBrowserData / ASN1PBE

Interface ASN1PBE

crypto/asn1pbe.go:18–21  ·  view source on GitHub ↗

3DES uses 24-byte (192-bit) keys ASN1PBE represents a Password-Based Encryption structure from Firefox's NSS. The key parameter semantics vary by implementation: - privateKeyPBE / passwordCheckPBE: key is the global salt used for key derivation - credentialPBE: key is the already-derived master key

Source from the content-addressed store, hash-verified

16// - privateKeyPBE / passwordCheckPBE: key is the global salt used for key derivation
17// - credentialPBE: key is the already-derived master key
18type ASN1PBE interface {
19 Decrypt(key []byte) ([]byte, error)
20 Encrypt(key, plaintext []byte) ([]byte, error)
21}
22
23func NewASN1PBE(b []byte) (pbe ASN1PBE, err error) {
24 var (

Callers 4

verifyPasswordCheckMethod · 0.95
decryptPrivateKeyMethod · 0.95
tryDecryptLoginsFunction · 0.95
decryptPBEFunction · 0.95

Implementers 3

privateKeyPBEcrypto/asn1pbe.go
passwordCheckPBEcrypto/asn1pbe.go
credentialPBEcrypto/asn1pbe.go

Calls

no outgoing calls

Tested by

no test coverage detected