Commit 90b7ce4
committed
Add input validation to EncryptPassword method
Added a null or empty input check in the `EncryptPassword`
method to validate the `plainText` parameter before
proceeding with encryption logic. This ensures robustness
and prevents errors or unintended behavior when invalid
input is provided.1 parent 998ee19 commit 90b7ce4
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
0 commit comments