first compiling version

This commit is contained in:
ston1th 2023-03-15 01:51:45 +01:00
commit 3d54199faa
27 changed files with 908 additions and 243 deletions

View file

@ -40,8 +40,8 @@ func Generate(name string, size int, enc core.Encoding) (k core.Key, err error)
Name: name,
ID: id,
Size: size,
Encoding: enc.String(),
Key: enc.Encode(key),
Encoding: enc,
Key: enc.EncodeToString(key),
Created: time.Now().Unix(),
}
return