support multi key pattern matching (#25)

This commit is contained in:
Sarv
2025-04-10 14:53:17 +08:00
committed by GitHub
parent b64902ecb6
commit 4983d27054
8 changed files with 152 additions and 81 deletions

View File

@@ -15,6 +15,9 @@ type Extractor interface {
// Extract 从进程中提取密钥
Extract(ctx context.Context, proc *model.Process) (string, error)
// SearchKey 在内存中搜索密钥
SearchKey(ctx context.Context, memory []byte) (string, bool)
SetValidate(validator *decrypt.Validator)
}