This modules has the same interface as the much faster Digest::MD5. So you can easily exchange them, e.g.
acquired package info from repodata DB: repodata/f1f85c23079e7764ad00378a9fc5d660b89a03657290e75426caf7be5b7da462-primary.sqlite.bz2