aboutsummaryrefslogtreecommitdiffstats
path: root/sym.go
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2025-11-11 11:35:23 -0800
committerRose Hogenson <rosehogenson@posteo.net>2025-11-11 11:35:23 -0800
commitbd8bb1246cdad558fca64fdcf6af343905746e29 (patch)
tree8bd7152cac8e819c0bc26bc0f1956f64d784d3ea /sym.go
parent128d5c513b7a5c50a65f03480fc61b06fb5ef8e8 (diff)
downloadsym-bd8bb1246cdad558fca64fdcf6af343905746e29.tar.zst
Fix comment
Diffstat (limited to 'sym.go')
-rw-r--r--sym.go11
1 files changed, 9 insertions, 2 deletions
diff --git a/sym.go b/sym.go
index b08657d..5890850 100644
--- a/sym.go
+++ b/sym.go
@@ -1,10 +1,17 @@
// The sym command encrypts or decrypts files with a password.
//
// Sym has two subcommands, enc and dec, which perform encryption and
-// decryption. The encryption key is derived from the user's password using
-// argon2, and the data is then encrypted using AES-256 in chunks of 1MiB.
+// decryption. The encryption key is derived from the user's password
+// using argon2, and the data is then encrypted using ChaCha20-Poly1305
+// in chunks of 1MiB.
//
// Run sym -h for detailed usage information.
+//
+// # Disclaimer
+//
+// PLEASE DO NOT USE THIS PROGRAM. It was written for me to learn about
+// symmetric encryption, and likely contains critical
+// security vulnerabilities.
package main
import (