Github user paulk-asert commented on a diff in the pull request:
https://github.com/apache/groovy/pull/793#discussion_r216121209
--- Diff:
src/main/java/org/codehaus/groovy/runtime/EncodingGroovyMethods.java ---
@@ -389,6 +390,26 @@ public static String md5(byte[] self) throws
NoSuchAlgorithmException {
return digest(self, MD5);
}
+ /**
+ * Calculate SHA-256 of the CharSequence instance
+ * @return SHA-256 value
+ * @throws NoSuchAlgorithmException if SHA-256 algorithm not found
+ * @since 2.5.0
--- End diff --
2.5.3?
---