# Functions
Hàm check password hỗ trợ cả kiểu SHA1 cũ và bcrypt mới
- inputpass: password nhập vào lúc login
- hashedpass: password đã băm đọc từ CSDL
- salt: chuỗi nhiễu tạo ra từ thuật toán SHA1 cũ
*/.
DecodeHash expects a hash created from this package, and parses it to return the params used to create it, as well as the salt and key (password hash).
Sử dụng thuật toán băm Argon2Id.
# Variables
ErrIncompatibleVersion in returned by ComparePasswordAndHash if the provided hash was created using a different version of Argon2.
ErrInvalidHash in returned by ComparePasswordAndHash if the provided hash isn't in the expected format.
No description provided by the author
# Interfaces
Tạo interface cho các thư viện băm password tuân thủ
*/.