Add support for SHA3-384 with Java 9

This commit is contained in:
Reinhard Pointner 2017-05-26 17:15:21 +08:00
parent eabd0125c0
commit a4f62e6184
2 changed files with 25 additions and 0 deletions

View File

@ -6,6 +6,7 @@ verification/sfv: sfv
verification/md5sum: md5
verification/sha1sum: sha1 sha
verification/sha256sum: sha256 sha2
verification/sha3sum: sha3
verification/ed2k: ed2k
archive/zip: zip

View File

@ -93,6 +93,30 @@ public enum HashType {
}
},
// SHA3_384 {
//
// @Override
// public Hash newHash() {
// return new MessageDigestHash("SHA3-384");
// }
//
// @Override
// public VerificationFormat getFormat() {
// // e.g 1a02a7c1e9ac91346d08829d5037b240f42ded07 ?SHA3-384*folder/file.txt
// return new VerificationFormat("SHA3-384");
// }
//
// @Override
// public ExtensionFileFilter getFilter() {
// return MediaTypes.getTypeFilter("verification/sha3sum");
// }
//
// @Override
// public String toString() {
// return "SHA3";
// }
// },
ED2K {
@Override