implements MessageDigestFactory class (immediately)