Add support for SHA3-384 with Java 9
This commit is contained in:
parent
eabd0125c0
commit
a4f62e6184
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue