Adds a digest method for use in fixtures