Skip to content

Commit 155bfb4

Browse files
committed
added getMinMessageLength and getMaxMessageLength
1 parent c71d121 commit 155bfb4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/com/privacylogistics/FF3Cipher.java

+8
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,14 @@ public FF3Cipher(byte[] key, byte[] tweak, int radix) {
140140
this(key, tweak, alphabetForBase(radix));
141141
}
142142

143+
public int getMinMessageLength() {
144+
return minLen;
145+
}
146+
147+
public int getMaxMessageLength() {
148+
return maxLen;
149+
}
150+
143151
/**
144152
* Encrypt a value using default tweak
145153
* @param plaintext a plaintext to encrypt

0 commit comments

Comments
 (0)