mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-10-13 03:37:12 +02:00
Co-authored-by: Michael L <luoshitou9@gmail.com>
This commit is contained in:
1 parent
47ae49707c
commit
239501535a
2 files changed
+8
-2
No files matched your search
@@ -2,6 +2,10 @@
|
||||
|
||||
package crypto
|
||||
|
||||
import "errors"
|
||||
|
||||
var ErrDarwinNotSupportDPAPI = errors.New("darwin not support dpapi")
|
||||
|
||||
func DecryptWithChromium(key, password []byte) ([]byte, error) {
|
||||
if len(password) <= 3 {
|
||||
return nil, ErrCiphertextLengthIsInvalid
|
||||
@@ -11,5 +15,5 @@ func DecryptWithChromium(key, password []byte) ([]byte, error) {
|
||||
}
|
||||
|
||||
func DecryptWithDPAPI(_ []byte) ([]byte, error) {
|
||||
return nil, nil
|
||||
return nil, ErrDarwinNotSupportDPAPI
|
||||
}
|
||||
Reference in new issue
Block a user