Skip to content
Snippets Groups Projects
Commit 9021dd8e authored by Erhan Nergiz's avatar Erhan Nergiz Committed by Thai Duong
Browse files

Emphasizes Mac.java interface is for multi-time MACs

Change-Id: Ie13878c2bc60227c70a3d785029c6b76c73874b5
ORIGINAL_AUTHOR=Erhan Nergiz <anergiz@google.com>
GitOrigin-RevId: 6ca24e5da13f9ee64878e60a5648c2a15fc1bc2c
parent 8d3bf858
No related branches found
No related tags found
No related merge requests found
......@@ -19,9 +19,10 @@ package com.google.crypto.tink;
import java.security.GeneralSecurityException;
/**
* Interface for MACs (Message Authentication Codes).
* This interface should be used for authentication only, and not for other purposes
* (for example, it should not be used to generate pseudorandom bytes).
* Interface for multi-time MACs (Message Authentication Codes).
* This interface should be used for multi-time authentication only, and not for other purposes
* (for example, it should not be used to generate pseudorandom bytes or one-time MACs like
* Poly1305).
*/
public interface Mac {
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment