public static MutableString /*!*/ HexDigest(RubyClass /*!*/ self, [DefaultProtocol, NotNull] MutableString /*!*/ str) { MutableString result = DigestSite.Target(DigestSite, self.Context, self, str); // TODO: check result != null return(HexEncode(result)); }
public static MutableString Digest(RubyClass /*!*/ self, [DefaultProtocol, NotNull] MutableString /*!*/ str) { // TODO: new? object obj = RubySites.Allocate(self); // TODO: check obj return(DigestSite.Target(DigestSite, self.Context, obj, str)); }