Interface ChecksumStrategy
- All Known Implementing Classes:
HashCodeChecksumStrategy
public interface ChecksumStrategy
Strategy for performing checksum embedding and validation.
- Author:
- Lincoln Baxter, III
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanchecksumValid(String token) Returntrueif the given token contains a valid checksum.embedChecksum(String token) Return the given token with an additional added checksum.removeChecksum(String token) Extract the checksum from the given token.
-
Method Details
-
checksumValid
Returntrueif the given token contains a valid checksum. -
embedChecksum
Return the given token with an additional added checksum. -
removeChecksum
Extract the checksum from the given token.
-