Re: Bug 23159 - Inconsistent "length" property when generating keys (bits vs bytes)

Agree we should be uniform.  Typed arrays are all byte oriented, so it
seems like aligning on BYTES (literally) would result in less ambiguity.
Otherwise you have to say how you pack left over bits.



On Monday, March 3, 2014, Mark Watson <watsonm@netflix.com> wrote:

> https://www.w3.org/Bugs/Public/show_bug.cgi?id=23159
>
> The length property of an algorithm is everywhere specified as the length
> in BITS, except HMAC which defines it as the length in BYTES.
>
> The proposal is to align on BITS.
>
> Any objections ?
>
> ...Mark
>

Received on Monday, 3 March 2014 23:59:33 UTC