aboutsummaryrefslogtreecommitdiffstats
path: root/sym.go
diff options
context:
space:
mode:
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 (