commit | 39cc9ac8cbb3e5d8a76793b81b7cb9b04bca85b0 | [log] [tgz] |
---|---|---|
author | Stuart McCulloch <mcculls@apache.org> | Mon Jul 16 13:43:38 2012 +0000 |
committer | Stuart McCulloch <mcculls@apache.org> | Mon Jul 16 13:43:38 2012 +0000 |
tree | 13cdafe132acbccbeceb2c0a6315a2de029dd7f8 | |
parent | edcfe3281219d95bb8eb4432f7e35697a1d09526 [diff] [blame] |
Update to latest refactored bndlib git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1362033 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/src/main/java/aQute/libg/cryptography/SHA1.java b/bundleplugin/src/main/java/aQute/libg/cryptography/SHA1.java index d0a486c..c76f182 100644 --- a/bundleplugin/src/main/java/aQute/libg/cryptography/SHA1.java +++ b/bundleplugin/src/main/java/aQute/libg/cryptography/SHA1.java
@@ -35,4 +35,7 @@ return ALGORITHM; } + public static SHA1 digest(byte [] data) throws Exception { + return getDigester().digest(data); + } } \ No newline at end of file