split digest function gob/json