[Git][java-team/crypto-random-clojure][upstream] New upstream version 1.2.1
Louis-Philippe Véronneau
gitlab at salsa.debian.org
Wed Dec 30 19:02:55 GMT 2020
Louis-Philippe Véronneau pushed to branch upstream at Debian Java Maintainers / crypto-random-clojure
Commits:
25366083 by Louis-Philippe Véronneau at 2020-12-21T17:26:38-05:00
New upstream version 1.2.1
- - - - -
3 changed files:
- README.md
- project.clj
- src/crypto/random.clj
Changes:
=====================================
README.md
=====================================
@@ -7,7 +7,7 @@ bytes and strings.
Add the following dependency to your `project.clj` file:
- [crypto-random "1.2.0"]
+ [crypto-random "1.2.1"]
## Functions
@@ -34,6 +34,6 @@ denotes the number of bytes to generate.
## License
-Copyright © 2014 James Reeves
+Copyright © 2020 James Reeves
Distributed under the Eclipse Public License, the same as Clojure.
=====================================
project.clj
=====================================
@@ -1,7 +1,7 @@
-(defproject crypto-random "1.2.0"
+(defproject crypto-random "1.2.1"
:description "Library for generating secure random bytes and strings"
:url "https://github.com/weavejester/crypto-random"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
- :dependencies [[org.clojure/clojure "1.2.1"]
- [commons-codec "1.6"]])
+ :dependencies [[org.clojure/clojure "1.7.0"]
+ [commons-codec "1.15"]])
=====================================
src/crypto/random.clj
=====================================
@@ -25,7 +25,7 @@
(defn hex
"Return a random hex string of the specified size in bytes."
[size]
- (String. (Hex/encodeHex (bytes size))))
+ (String. (Hex/encodeHex ^bytes (bytes size))))
(defn url-part
"Return a random string suitable for being inserted into URLs. The size
View it on GitLab: https://salsa.debian.org/java-team/crypto-random-clojure/-/commit/25366083390e50157ec8c13076ae9aae42af3257
--
View it on GitLab: https://salsa.debian.org/java-team/crypto-random-clojure/-/commit/25366083390e50157ec8c13076ae9aae42af3257
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20201230/6f10c649/attachment.html>
More information about the pkg-java-commits
mailing list