Encryption S

Total Complexity 18
Dependencies 0
Dependents 3
Total lines 206
Lines of code 79
Logical lines of code 38
Comment lines 93
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
setEncryptionKey()
S
59 3 13
encryptOrDecrypt()
S
56 2 21
maybeEncrypt()
S
71 2 6
maybeDecrypt()
S
71 2 6
encrypt()
S
68 2 7
GenerateRandomString()
S
64 2 9
getComputedHash()
S
68 2 7
__construct()
S
79 1 3
isEncrypted()
S
79 1 3
decrypt()
S
75 1 4