You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2023/03/03 11:25:21 UTC
[causeway] branch master updated: CAUSEWAY-3304: Hashing: adds SHA-256
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/causeway.git
The following commit(s) were added to refs/heads/master by this push:
new 1b410870df CAUSEWAY-3304: Hashing: adds SHA-256
1b410870df is described below
commit 1b410870dfe30125cbc3e59a6b8fd0cf671234ba
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri Mar 3 12:25:16 2023 +0100
CAUSEWAY-3304: Hashing: adds SHA-256
---
commons/src/main/java/org/apache/causeway/commons/io/HashUtils.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/commons/src/main/java/org/apache/causeway/commons/io/HashUtils.java b/commons/src/main/java/org/apache/causeway/commons/io/HashUtils.java
index accd4ee8bb..509120ddcd 100644
--- a/commons/src/main/java/org/apache/causeway/commons/io/HashUtils.java
+++ b/commons/src/main/java/org/apache/causeway/commons/io/HashUtils.java
@@ -72,6 +72,7 @@ public class HashUtils {
public static enum HashAlgorithm {
MD5(()->MessageDigest.getInstance("MD5")),
SHA1(()->MessageDigest.getInstance("SHA-1")),
+ SHA256(()->MessageDigest.getInstance("SHA-256"))
;
@Getter(value = AccessLevel.PRIVATE)