Skip to content

Commit

Permalink
Release 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amdelamar committed Sep 20, 2020
1 parent f0ab0d4 commit 4231bb2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Maven:
<dependency>
<groupId>com.amdelamar</groupId>
<artifactId>jotp</artifactId>
<version>1.2.2</version>
<version>1.3.0</version>
</dependency>
```

Expand All @@ -33,7 +33,7 @@ repositories {
}
dependencies {
compile 'com.amdelamar:jotp:1.2.2'
compile 'com.amdelamar:jotp:1.3.0'
}
```

Expand All @@ -45,7 +45,7 @@ resolvers += {
}

libraryDependencies ++= Seq(
"com.amdelamar" % "jotp" % "1.2.2"
"com.amdelamar" % "jotp" % "1.3.0"
)
```

Expand All @@ -65,7 +65,7 @@ String secret = OTP.randomBase32(20);

// Generate a Time-based OTP from the secret, using Unix-time
// rounded down to the nearest 30 seconds.
String hexTime = OTP.timeInHex(System.currentTimeMillis());
String hexTime = OTP.timeInHex(System.currentTimeMillis(), 30);
String code = OTP.create(secret, hexTime, 6, Type.TOTP);
```

Expand Down
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h1 class="text-uppercase text-thinner text-wide">Jotp</h1>
<a class="button button-secondary" href="https://github.com/amdelamar/jotp/"><span class="icon-github text-medium margin-right"></span>View on GitHub</a>
<a class="button" href="https://github.com/amdelamar/jotp/issues"><span class="icon-bug text-medium margin-right"></span>Report Issue</a>
</p>
<code>v1.2.2</code> - 10 Nov 2019 - <code>16KB</code>
<code>v1.3.0</code> - 20 Sep 2020 - <code>16KB</code>
</div>
</div>
</header>
Expand All @@ -80,7 +80,7 @@ <h3>Download</h3>
&lt;dependency&gt;
&lt;groupId&gt;com.amdelamar&lt;/groupId&gt;
&lt;artifactId&gt;jotp&lt;/artifactId&gt;
&lt;version&gt;1.2.2&lt;/version&gt;
&lt;version&gt;1.3.0&lt;/version&gt;
&lt;/dependency&gt;</code></pre>

<p>Gradle:</p>
Expand All @@ -89,7 +89,7 @@ <h3>Download</h3>
}

dependencies {
compile 'com.amdelamar:jotp:1.2.2'
compile 'com.amdelamar:jotp:1.3.0'
}
</code></pre>

Expand All @@ -99,7 +99,7 @@ <h3>Download</h3>
}

libraryDependencies ++= Seq(
"com.amdelamar" % "jotp" % "1.2.2"
"com.amdelamar" % "jotp" % "1.3.0"
)
</code></pre>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.amdelamar</groupId>
<artifactId>jotp</artifactId>
<version>1.2.2</version>
<version>1.3.0</version>
<dependencies>
<dependency>
<groupId>commons-codec</groupId>
Expand Down

0 comments on commit 4231bb2

Please sign in to comment.