### Question:
Crypto { static String calculateSHA(String filename) { MessageDigest digest; try { digest = MessageDigest.getInstance("SHA-256"); } catch (NoSuchAlgorithmException e) { throw new RuntimeException("Invalid algorithm used for calculating message digest."); } processFile(filename, (bytes, length) -> digest.update(bytes, 0, length)); return bytetohex(digest.digest()); }  static void main(String[] args);  }### Answer:
@Test @Disabled void testCalculateSHAWith_hw06testbin() { assertEquals("2e7b3a91235ad72cb7e7f6a721f077faacfeafdea8f3785627a5245bea112598", calculateSHA("hw06test.bin")); }