Custom digest type