added encryption support

This commit is contained in:
2024-12-19 10:37:21 +01:00
parent a515d4bb5e
commit 1b9ec48396
9 changed files with 246 additions and 25 deletions

View File

@@ -8,12 +8,13 @@ import (
)
type DbAttr struct {
Key string
Val string
Bin []byte
Args []string
Tags []string
File string
Key string
Val string
Bin []byte
Args []string
Tags []string
File string
Encrypted bool
}
func (attr *DbAttr) ParseKV() error {