Interface ApiKeyHasher
- All Known Implementing Classes:
SHA256ApiKeyHasher
public interface ApiKeyHasher
Defines the contract for securely hashing API keys prior to database storage or verification.
-
Method Summary
-
Method Details
-
hash
Hashes the plaintext API key.- Parameters:
plaintextApiKey- the raw API key- Returns:
- the hashed key
-