Class SHA256ApiKeyHasher
java.lang.Object
com.broadleafcommerce.auth.server.service.apikey.SHA256ApiKeyHasher
- All Implemented Interfaces:
ApiKeyHasher
Default implementation of
ApiKeyHasher using the SHA-256 algorithm.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SHA256ApiKeyHasher
public SHA256ApiKeyHasher()
-
-
Method Details
-
hash
Description copied from interface:ApiKeyHasherHashes the plaintext API key.- Specified by:
hashin interfaceApiKeyHasher- Parameters:
plaintextApiKey- the raw API key- Returns:
- the hashed key
-