summaryrefslogtreecommitdiff
path: root/passgen/diceware/api
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-12-10 13:59:32 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-12-21 13:01:40 +0530
commitc5436b543df466657a1d0dc3af40d4707fca9b9d (patch)
treea5b04250886153f0e9d4e1bba0867fbb8332fe04 /passgen/diceware/api
parentab8f6a43eefab012900edd1ad9dbefd9a49b7429 (diff)
diceware: add passphrase generator
Diffstat (limited to 'passgen/diceware/api')
-rw-r--r--passgen/diceware/api/diceware.api6
1 files changed, 6 insertions, 0 deletions
diff --git a/passgen/diceware/api/diceware.api b/passgen/diceware/api/diceware.api
index 8d16ae8f..925d6739 100644
--- a/passgen/diceware/api/diceware.api
+++ b/passgen/diceware/api/diceware.api
@@ -1,3 +1,9 @@
+public final class dev/msfjarvis/aps/passgen/diceware/DicewarePassphraseGenerator {
+ public static final field DIGITS I
+ public fun <init> (Ldev/msfjarvis/aps/passgen/diceware/Die;Ljava/io/InputStream;)V
+ public final fun generatePassphrase (IC)Ljava/lang/String;
+}
+
public final class dev/msfjarvis/aps/passgen/diceware/Die {
public fun <init> (ILdev/msfjarvis/aps/passgen/diceware/RandomIntGenerator;)V
public final fun roll ()I