Password
Sometimes you need to store information such as passwords in the database in a non-recoverable form, so that the damage caused when the database falls into the hands of malicious parties is kept to a minimum. For this purpose, you can use the packages/base/utility/password class. This class provides two static (static) methods: one for converting a password into a hashed string, and the other for comparing and verifying a password entered by the user against a previously hashed string. To convert a password into a hashed string, advanced cryptographic algorithms are used, which makes the hashed string non-recoverable and unreadable.
Sanitization
The packages/base/utility/safe class is used to sanitize the contents of strings, numbers, and dates. For ease of use, the methods of this class are written as static.