Code example for HashCode

Methods: asBytes

0
 
    } 
 
    public static BlobData build(ByteSource src) throws IOException {
        HashCode hashCode = src.hash(Hashing.md5());
        ByteString hash = ByteString.copyFrom(hashCode.asBytes());
 
        return new BlobData(src, hash);
    } 
 
    public static BlobData build(File file) throws IOException {
        return build(Files.asByteSource(file));
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java