public static String getSHA1Checksum ( File file ) throws IOException , NoSuchAlgorithmException { final byte [ ] b = getChecksum ( SHA1 , file ) ; return getHex ( b ) ; }
Calculates the SHA1 checksum of a specified file .