verify method

bool verify(
  1. List<int> data,
  2. List<int> tag
)

Constant-time comparison of tag against the tag over data.

Implementation

bool verify(List<int> data, List<int> tag) =>
    constantTimeEquals(compute(data), tag);