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 Type
    Method
    Description
    boolean
    Return true if the given token contains a valid checksum.
    Return the given token with an additional added checksum.
    Extract the checksum from the given token.
  • Method Details

    • checksumValid

      boolean checksumValid(String token)
      Return true if the given token contains a valid checksum.
    • embedChecksum

      String embedChecksum(String token)
      Return the given token with an additional added checksum.
    • removeChecksum

      String removeChecksum(String token)
      Extract the checksum from the given token.