From 9b65803ae13cd271303461ea2800d0cc3e9c594b Mon Sep 17 00:00:00 2001 From: Mohamed Feddad Date: Tue, 3 Sep 2024 19:23:00 +0400 Subject: [PATCH] chore: remove redundant code --- safelock/safelock.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/safelock/safelock.go b/safelock/safelock.go index 702c814..e124163 100644 --- a/safelock/safelock.go +++ b/safelock/safelock.go @@ -29,10 +29,6 @@ type EncryptionConfig struct { GcmBufferSize int } -func (ec *EncryptionConfig) getMinPasswordLength() int { - return ec.MinPasswordLength / 2 -} - func (ec *EncryptionConfig) getHeaderSize(fileSize int) int { if ec.HeaderRatio > fileSize/100 { return ec.HeaderRatio