You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuweni.apache.org by GitBox <gi...@apache.org> on 2021/11/28 04:04:34 UTC

[GitHub] [incubator-tuweni] ajsutton commented on a change in pull request #347: Resolve libsodium performance degradation

ajsutton commented on a change in pull request #347:
URL: https://github.com/apache/incubator-tuweni/pull/347#discussion_r757840004



##########
File path: crypto/src/main/java/org/apache/tuweni/crypto/Hash.java
##########
@@ -29,7 +29,7 @@
  * https://www.bouncycastle.org/wiki/display/JA1/Provider+Installation for detail.
  */
 public final class Hash {
-  static boolean USE_SODIUM = true;
+  static boolean USE_SODIUM = Boolean.parseBoolean(System.getProperty("org.apahce.tuweni.crypto.useSodium", "true"));

Review comment:
       Fixed, good spot.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tuweni.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tuweni.apache.org
For additional commands, e-mail: dev-help@tuweni.apache.org