mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-19 18:58:03 +02:00
refactor: format parse browsing data
This commit is contained in:
@@ -4,7 +4,7 @@ package crypto
|
||||
|
||||
var iv = []byte{32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32}
|
||||
|
||||
func Chromium(key, encryptPass []byte) ([]byte, error) {
|
||||
func DecryptPass(key, encryptPass []byte) ([]byte, error) {
|
||||
if len(encryptPass) <= 3 {
|
||||
return nil, errPasswordIsEmpty
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ package crypto
|
||||
|
||||
var iv = []byte{32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32}
|
||||
|
||||
func Chromium(key, encryptPass []byte) ([]byte, error) {
|
||||
func DecryptPass(key, encryptPass []byte) ([]byte, error) {
|
||||
if len(encryptPass) < 3 {
|
||||
return nil, errPasswordIsEmpty
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
func Chromium(key, encryptPass []byte) ([]byte, error) {
|
||||
func DecryptPass(key, encryptPass []byte) ([]byte, error) {
|
||||
if len(encryptPass) < 15 {
|
||||
return nil, errPasswordIsEmpty
|
||||
}
|
||||
@@ -17,7 +17,7 @@ func Chromium(key, encryptPass []byte) ([]byte, error) {
|
||||
return aesGCMDecrypt(encryptPass[15:], key, encryptPass[3:15])
|
||||
}
|
||||
|
||||
func ChromiumForYandex(key, encryptPass []byte) ([]byte, error) {
|
||||
func DecryptPassForYandex(key, encryptPass []byte) ([]byte, error) {
|
||||
if len(encryptPass) < 3 {
|
||||
return nil, errPasswordIsEmpty
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user