Package com.example.blogs.app.security
Interface Hasher
- All Known Implementing Classes:
HasherImpl
public interface Hasher
Cryptographic hashing service for generating irreversible token digests.
-
Method Summary
-
Method Details
-
hash
Generates a SHA-256 hash of the input string.- Parameters:
input- plaintext string to hash- Returns:
- hexadecimal representation of the hash
-