Skip to content

Commit

Permalink
chore: remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
mrf345 committed Sep 3, 2024
1 parent 6634649 commit 9b65803
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions safelock/safelock.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b65803

Please sign in to comment.