Moved functions from Paths to Encryption

This commit is contained in:
2022-12-10 22:27:28 +01:00
parent baefc461fa
commit c85c108db5
3 changed files with 14 additions and 15 deletions

View File

@@ -2,16 +2,6 @@ import os
class Paths():
# At the moment the programm can only deal with one digit numbers.
MAXIMUM_SECRET_HOLDERS = 9
MINIMUM_SECRET_HOLDERS = 2
def getCoSecretHoldersRange():
return range(Paths.MINIMUM_SECRET_HOLDERS,Paths.MAXIMUM_SECRET_HOLDERS)
def getSecretHoldersRange():
return range(1,Paths.MAXIMUM_SECRET_HOLDERS)
TYPE_ENCRYPTED="encrypted"
TYPE_DECRYPTED="decrypted"