aboutsummaryrefslogtreecommitdiffstats
path: root/oae.go
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2025-11-11 06:35:57 -0800
committerRose Hogenson <rosehogenson@posteo.net>2025-11-11 06:35:57 -0800
commitef91824ac2f7953daa23eef47765447259d79f23 (patch)
tree27dce96970a56389f9c577b793715bda33a3ce42 /oae.go
parentOverflow can't happen (diff)
downloadsym-ef91824ac2f7953daa23eef47765447259d79f23.tar.zst
Only 16 bytes of salt
Should be fine tbh
Diffstat (limited to 'oae.go')
-rw-r--r--oae.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/oae.go b/oae.go
index 0dfb46d..b2ea886 100644
--- a/oae.go
+++ b/oae.go
@@ -18,7 +18,7 @@ const (
segmentSize = 1024 * 1024
plaintextSegmentSize = segmentSize - aeadOverhead
- saltSize = 32
+ saltSize = 16
)
type segmentEncrypter struct {