Path: redb/redb.Core/Security/IPasswordHasher.cs Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Core/Security/IPasswordHasher.cs ---- namespace redb.Core.Security; /// /// Interface for password hashing operations. /// Implementations should use secure hashing algorithms (bcrypt, PBKDF2, etc.) /// public interface IPasswordHasher { /// /// Hash a plain-text password. /// /// Plain-text password /// Hashed password string HashPassword(string password); /// /// Verify a password against a hash. /// /// Plain-text password to verify /// Stored hashed password /// True if password matches bool VerifyPassword(string password, string hashedPassword); }