We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8716da8 commit 6e1bbe5Copy full SHA for 6e1bbe5
4 files changed
otp.nim
@@ -10,13 +10,9 @@
10
11
from hmac import hmac_sha1
12
from base32 import decode
13
-from sha1 import toHex
14
from math import pow
15
from times import epochTime
16
17
-const
18
- VERSION* = "0.1.1"
19
-
20
type
21
OneTimePassword = ref object of RootObj
22
digits: int
otp.nimble
@@ -1,9 +1,10 @@
1
[Package]
2
-name = "OTP"
+name = "otp"
3
version = "0.2.1"
4
author = "Huy Doan"
5
description = "One Time Password library for Nim"
6
license = "MIT"
7
+skipDirs = @["tests"]
8
9
[Deps]
Requires: "nim >= 1.6.10"
tests/config.nims
@@ -0,0 +1 @@
+switch("path", "$projectDir/../src")
test.nim tests/test.nimtest.nim renamed to tests/test.nim
0 commit comments