You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java-otp is a library for generating one-time passwords using the [HOTP (RFC 4226)](https://tools.ietf.org/html/rfc4226) or [TOTP (RFC 6238)](https://tools.ietf.org/html/rfc6238) standards in Java.
4
5
6
+
## Getting java-otp
7
+
8
+
You can download java-otp as a jar file (it has no dependencies) from the [GitHub releases page](https://github.com/jchambers/java-otp/releases) and add it to your project's classpath. If you're using Maven (or something that understands Maven dependencies) to build your project, you can add java-otp as a dependency:
9
+
10
+
```xml
11
+
<dependency>
12
+
<groupId>com.eatthepath</groupId>
13
+
<artifactId>java-otp</artifactId>
14
+
<version>0.2.0</version>
15
+
</dependency>
16
+
```
17
+
5
18
## System requirements
6
19
7
20
java-otp works with Java 8 or newer. If you need support for versions of Java older than Java 8, you may try using java-otp v0.1 (although it is no longer supported).
0 commit comments