cryptiles
General purpose crypto utilities
Lead Maintainer - C J Silverio
Methods
randomString(<Number> size)
Returns a cryptographically strong pseudo-random data string. Takes a size argument for the length of the string.
randomDigits(<Number> size)
Returns a cryptographically strong pseudo-random data string consisting of only numerical digits (0-9). Takes a size argument for the length of the string.
fixedTimeComparison(<String> a, <String> b)
Compare two strings using fixed time algorithm (to prevent time-based analysis of MAC digest match). Returns true
if the strings match, false
if they differ.
Current Tags
-
4.1.3
...
latest
(6 years ago)
-
3.1.4
...
lts
(6 years ago)
-
3.2.1
...
v3-legacy
(10 months ago)
33 Versions
-
3.2.1
[deprecated]
...
10 months ago
-
3.1.4
[deprecated]
...
6 years ago
-
4.1.3
[deprecated]
...
6 years ago
-
3.1.3
[deprecated]
...
6 years ago
-
4.1.2
[deprecated]
...
6 years ago
-
4.1.1
[deprecated]
...
7 years ago
-
4.1.0
[deprecated]
...
7 years ago
-
4.0.2
[deprecated]
...
7 years ago
-
4.0.1
[deprecated]
...
7 years ago
-
4.0.0
[deprecated]
...
7 years ago
-
3.1.2
[deprecated]
...
7 years ago
-
3.1.1
[deprecated]
...
8 years ago
-
3.1.0
[deprecated]
...
8 years ago
-
3.0.2
[deprecated]
...
8 years ago
-
3.0.1
[deprecated]
...
8 years ago
-
3.0.0
[deprecated]
...
9 years ago
-
2.0.5
[deprecated]
...
9 years ago
-
2.0.4
[deprecated]
...
10 years ago
-
2.0.3
[deprecated]
...
10 years ago
-
2.0.2
[deprecated]
...
10 years ago
-
2.0.1
[deprecated]
...
11 years ago
-
2.0.0
[deprecated]
...
11 years ago
-
1.0.1
[deprecated]
...
11 years ago
-
1.0.0
[deprecated]
...
11 years ago
-
0.2.2
[deprecated]
...
11 years ago
-
0.2.1
[deprecated]
...
12 years ago
-
0.2.0
[deprecated]
...
12 years ago
-
0.1.3
[deprecated]
...
12 years ago
-
0.1.2
[deprecated]
...
12 years ago
-
0.1.1
[deprecated]
...
12 years ago
-
0.1.0
[deprecated]
...
12 years ago
-
0.0.2
[deprecated]
...
12 years ago
-
0.0.1
[deprecated]
...
12 years ago