code: private static MessageDigest create(String algorithm)
      {
          try
          {
              return MessageDigest.getInstance(algorithm);
          }
          catch (final NoSuchAlgorithmException exception)
          {
              throw new LionEngineException(exception, ERROR_ALGORITHM + algorithm);
          }
      }
docs: Create digest.
  
  @param algorithm The algorithm name.
  @return The created digest.
  @throws LionEngineException If algorithm is invalid.