307308309310311312313314315316317
} md5.update(blob.data); } ByteString hashResume = md5.getState(); ByteString hash = ByteString.copyFrom(md5.digest()); file.setHash(hash); // NOTE: hashResume can contain plaintext. Careful around encryption! file.setHashResume(hashResume);