mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-12-04 05:43:27 +01:00
Parsers move with git mv and hand records to a Collector; the old browser/firefox runs them, and app now discovers Firefox. A profile without a usable key exports its logins instead of panicking, as RFC-008 now lists.
16 lines
626 B
Go
16 lines
626 B
Go
package crypto
|
|
|
|
import "errors"
|
|
|
|
// Sentinel errors for crypto operations.
|
|
var (
|
|
errShortCiphertext = errors.New("ciphertext too short")
|
|
errInvalidBlockSize = errors.New("ciphertext is not a multiple of the block size")
|
|
errInvalidIVLength = errors.New("IV length must equal block size")
|
|
errInvalidPadding = errors.New("invalid PKCS5 padding")
|
|
errInvalidNonceLen = errors.New("nonce length must equal GCM nonce size")
|
|
errUnsupportedIVLen = errors.New("unsupported IV length")
|
|
errShortKey = errors.New("key is shorter than the cipher needs")
|
|
errDecodeASN1 = errors.New("failed to decode ASN1 data")
|
|
)
|