Fix visibility of digest implementations

I really have no idea why the tests didn't fail. Maybe it's another cross-crate issue?