mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-07-06 21:37:47 +02:00
docs: cross-host decryption guide and comment cleanup (#614)
* docs(readme): document cross-host decryption workflow * docs: drop RFC citations and what-comments
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ var (
|
||||
errYandexKeyTooShort = errors.New("yandex: decrypted intermediate key shorter than 32 bytes")
|
||||
)
|
||||
|
||||
// DecryptYandexIntermediateKey unwraps the per-DB data key from meta.local_encryptor_data. See RFC-012 §4.2.
|
||||
// DecryptYandexIntermediateKey unwraps the per-DB data key from meta.local_encryptor_data.
|
||||
func DecryptYandexIntermediateKey(masterKey, blob []byte) ([]byte, error) {
|
||||
idx := bytes.Index(blob, localEncryptorPrefix)
|
||||
if idx < 0 {
|
||||
|
||||
Reference in New Issue
Block a user