moonD4rk / HackBrowserData

Extract and decrypt browser data, supporting multiple data types, runnable on various operating systems (macOS, Windows, Linux).
MIT License
11.19k stars 1.57k forks source link

Feature Request: Add encryption and testcase for crypto #301

Closed moonD4rk closed 10 months ago

moonD4rk commented 10 months ago

Feature Description

Currently, the crypto only has a decrypt module, but sometimes decryption fails, possibly due to insufficient rigor in implementation. Now we need to provide better decryption and also provide encryption and unit testing.

func aes128CBCDecrypt(key, iv, encryptPass []byte) ([]byte, error) {
……
}

Why is this feature needed?

Enhance stability.

Checklist

Screenshots/Videos

If applicable, add screenshots or videos to help explain your proposal.

Additional Context

Add any other context or screenshots about the feature request here.