Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/java/org/spongycastle/crypto/MacDerivationFunction.java')
-rw-r--r--core/src/main/java/org/spongycastle/crypto/MacDerivationFunction.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/src/main/java/org/spongycastle/crypto/MacDerivationFunction.java b/core/src/main/java/org/spongycastle/crypto/MacDerivationFunction.java
new file mode 100644
index 00000000..0478e9a6
--- /dev/null
+++ b/core/src/main/java/org/spongycastle/crypto/MacDerivationFunction.java
@@ -0,0 +1,13 @@
+package org.spongycastle.crypto;
+
+/**
+ * base interface for general purpose Mac based byte derivation functions.
+ */
+public interface MacDerivationFunction
+ extends DerivationFunction
+{
+ /**
+ * return the MAC used as the basis for the function
+ */
+ public Mac getMac();
+}