Re: crypto-ISSUE-37: Method naming [Web Cryptography API]

On Wed, Aug 29, 2012 at 8:01 PM, Ryan Sleevi <sleevi@google.com> wrote:
>
> What I dislike about 3 is that it implies a class hierarchy, of which
> JavaScript isn't really class-based (it's prototype). It also introduces a
> number of objects into global scope.
>
> Maybe
>
> var e = window.crypto.Encryptor(...) ?

Yes, I've been assuming these are under window.crypto, otherwise the
name "Verifier" would be too vague.

Wan-Teh

Received on Thursday, 30 August 2012 17:10:12 UTC