-
Home
-
Solid Security – Password, Two Factor Authentication, and Brute Force Protection
-
8.1.8
-
Code
-
Classes
- ITSEC_Lib_Encryption
Total Complexity |
41 |
Dependencies |
9 |
Dependents |
3 |
Total lines |
353 |
Lines of code |
178 |
Logical lines of code |
89 |
Comment lines |
99 |
Methods |
15 |
Properties |
1 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
save_secret_key() |
A |
40 |
13 |
64 |
has_encryption_key_changed() |
S |
56 |
5 |
19 |
validate_old_key() |
S |
61 |
3 |
12 |
generate_secret() |
S |
67 |
3 |
7 |
user_encryption() |
S |
65 |
3 |
9 |
rotate_with_old_key() |
S |
60 |
2 |
13 |
do_rotation() |
S |
58 |
1 |
17 |
is_available() |
S |
78 |
2 |
3 |
reset_encryption_key_changed_warning() |
S |
70 |
2 |
7 |
set_test_string() |
S |
67 |
2 |
8 |
is_encrypted() |
S |
80 |
1 |
3 |
encrypt_for_user() |
S |
78 |
1 |
3 |
decrypt_for_user() |
S |
78 |
1 |
3 |
rotate_with_new_key() |
S |
68 |
1 |
7 |
get_test_string() |
S |
80 |
1 |
3 |