hashSize static method
Implementation
static int hashSize(int id) {
switch (id) {
case MD5:
return 16;
case MD5_96:
return 16;
case SHA1:
return 20;
case SHA1_96:
return 20;
case SHA256:
return 32;
case SHA256_96:
return 32;
case SHA512:
return 64;
case SHA512_96:
return 64;
default:
return 0;
}
}