Switch from byte[] to Long digests