public static MutableString DigestNew(RubyContext /*!*/ context, object self) { MutableString value = Finish.Target(Finish, context, self); Reset.Target(Reset, context, self); return(value); }
public static MutableString Digest(RubyContext /*!*/ context, object self, [DefaultProtocol, NotNull] MutableString /*!*/ str) { Update.Target(Update, context, self, str); MutableString value = Finish.Target(Finish, context, self); Reset.Target(Reset, context, self); return(value); }
public static MutableString Digest(RubyContext /*!*/ context, object self) { object clone; if (!RubyUtils.TryDuplicateObject(context, self, true, out clone)) { throw RubyExceptions.CreateArgumentError("unable to copy object"); } return(Finish.Target(Finish, context, clone)); }