support multi key pattern matching

This commit is contained in:
Shen Junzheng
2025-04-10 14:44:27 +08:00
parent b64902ecb6
commit c15ad45d89
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)
}