I think bytes and blobs would be sufficient.<div><br></div><div>+<span class="Apple-style-span" style="color: rgb(88, 88, 82); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><a href="mailto:flan@google.com">flan@google.com</a></span><br>
<div><div><br><div class="gmail_quote">On Fri, Aug 5, 2011 at 12:58 PM, Adam Barth <span dir="ltr"><<a href="mailto:abarth@webkit.org">abarth@webkit.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Bytes and (likely) blobs are types we're planning to do in DOMCrypt.<br>
Hashing strings is slightly more delicate because you need to pick an<br>
encoding.  Do you have a sense, if we did bytes and blobs, would that<br>
be enough, or are strings really important also?<br>
<br>
Thanks,<br>
<font color="#888888">Adam<br>
</font><div><div></div><div class="h5"><br>
<br>
On Fri, Aug 5, 2011 at 12:43 PM, Michael Nordman <<a href="mailto:michaeln@google.com">michaeln@google.com</a>> wrote:<br>
> Yes, hashing blobs. Here's the last line of the relevant meeting notes...<br>
> "In the end, we all agreed that the main thing with the highest utility<br>
> would be a native hashing implementation that could accept strings, bytes,<br>
> or BLOBs."<br>
><br>
> On Fri, Aug 5, 2011 at 12:32 PM, Adam Barth <<a href="mailto:abarth@webkit.org">abarth@webkit.org</a>> wrote:<br>
>><br>
>> On Fri, Aug 5, 2011 at 12:09 PM, Michael Nordman <<a href="mailto:michaeln@google.com">michaeln@google.com</a>><br>
>> wrote:<br>
>> >> For example, the CryptoHash<br>
>> >> interface can be implemented independently of the rest of the API and<br>
>> >> provides value by itself.<br>
>> ><br>
>> > Moving forward on that part first sounds reasonable. I've been asked<br>
>> > about<br>
>> > that specifically by some app developers that really aren't interested<br>
>> > in<br>
>> > the other parts of the larger proposal.<br>
>><br>
>> Are they specifically interested in hashing blobs?  David and I have<br>
>> been discussing what sort of types these functions should handle.<br>
>><br>
>> Adam<br>
>><br>
>><br>
>> > On Wed, Jul 27, 2011 at 10:06 AM, Sam Weinig <<a href="mailto:weinig@apple.com">weinig@apple.com</a>> wrote:<br>
>> >><br>
>> >> I think we should let the spec mature a bit before diving in.<br>
>> >><br>
>> >> -Sam<br>
>> >><br>
>> >> On Jul 26, 2011, at 10:53 PM, Adam Barth wrote:<br>
>> >><br>
>> >> > Hi webkit-dev,<br>
>> >> ><br>
>> >> > As some of you are probably aware, Mozilla is experimenting with<br>
>> >> > exposing some basic cryptographic primitives to web applications:<br>
>> >> ><br>
>> >> > <a href="https://wiki.mozilla.org/Privacy/Features/DOMCryptAPISpec/Latest" target="_blank">https://wiki.mozilla.org/Privacy/Features/DOMCryptAPISpec/Latest</a><br>
>> >> ><br>
>> >> > I wanted to get a sense from the WebKit community about how<br>
>> >> > interested<br>
>> >> > we are in implementing this feature.  My sense is that this API is<br>
>> >> > fairly early in it's lifecycle, so one perspective is that we should<br>
>> >> > wait for Mozilla to experiment for a bit longer and revisit this<br>
>> >> > question once the design is further along (e.g., submitted to the W3C<br>
>> >> > standards process).<br>
>> >> ><br>
>> >> > Another perspective is that there are some simple parts of the API<br>
>> >> > that we should implement now, and we can grow into the more involved<br>
>> >> > parts of the API as they mature.  For example, the CryptoHash<br>
>> >> > interface can be implemented independently of the rest of the API and<br>
>> >> > provides value by itself.<br>
>> >> ><br>
>> >> > Thoughts?<br>
>> >> ><br>
>> >> > Adam<br>
>> >> > _______________________________________________<br>
>> >> > webkit-dev mailing list<br>
>> >> > <a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a><br>
>> >> > <a href="http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev" target="_blank">http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev</a><br>
>> >><br>
>> >> _______________________________________________<br>
>> >> webkit-dev mailing list<br>
>> >> <a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a><br>
>> >> <a href="http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev" target="_blank">http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev</a><br>
>> ><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br></div></div></div>