From f870118ebc41759b70e81cfb70bb15426a848b93 Mon Sep 17 00:00:00 2001 From: sg782 Date: Tue, 18 Aug 2026 17:28:13 -0500 Subject: [PATCH] Swap decryption -> encryption Fix of (probably) typo Signed-off-by: sg782 --- blockcipher/blockcipher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockcipher/blockcipher.go b/blockcipher/blockcipher.go index b8436a8..e99fc20 100644 --- a/blockcipher/blockcipher.go +++ b/blockcipher/blockcipher.go @@ -111,7 +111,7 @@ func wrapFinalizerWithType(fin Finalizer, typ LayerCipherType) Finalizer { } } -// Encrypt is the handler for the layer decryption routine +// Encrypt is the handler for the layer encryption routine func (h *LayerBlockCipherHandler) Encrypt(plainDataReader io.Reader, typ LayerCipherType) (io.Reader, Finalizer, error) { if c, ok := h.cipherMap[typ]; ok { sk, err := c.GenerateKey()