diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-11 08:32:19 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-11 08:34:51 -0700 |
| commit | abc1a3964ac93df07f32097102cfd3e00c4fe2f1 (patch) | |
| tree | 110d3032aaa9a83ab6be9b5f21bd2a930709ade3 /enc/enc.go | |
| parent | Use a separate salt per file (diff) | |
| download | sym-abc1a3964ac93df07f32097102cfd3e00c4fe2f1.tar.zst | |
Use 32 bytes of salt and add a magic header
Diffstat (limited to 'enc/enc.go')
| -rw-r--r-- | enc/enc.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ func enc() error { if *asciiOutput { return sym.EncryptBase64(os.Stdout, os.Stdin, password) } - return sym.Encrypt(os.Stdout, os.Stdin, password) + return sym.EncryptBinary(os.Stdout, os.Stdin, password) } for _, fileName := range args { if err := sym.EncryptFile(fileName, password, *asciiOutput); err != nil { |
