Renamed DigestFactory to KeyFactory