private long hashBlob(FileBackedOutputStream fbos) {
        try {
            StreamingXXHash64 streamingHash = XXHashFactory.fastestInstance().newStreamingHash64(0);
            InputStream fbosStream = fbos.asByteSource().openBufferedStream();
            byte[] hashBuffer = new byte[8192];
            int len;
            while ((len = fbosStream.read(hashBuffer)) != -1) {
                // Need len to ensure we don't read trash from previous iteration if it's less than full array size
                streamingHash.update(hashBuffer, 0, len);
            }
            return streamingHash.getValue();
        } catch (IOException ioe) {
            throw new UncheckedIOException(ioe);
        }
    }
OID for 'name' of foo.jpeg will be in format: <samp>44cf-a164-607dd7fcd820/foo.jpeg</samp>.
manager/api/jpa/src/main/java/io/apiman/manager/api/jpa/blobstore/SqlBlobStoreService.java