Re: Question on BigInteger operations

On Sun, Sep 29, 2013 at 3:15 PM, Ryan Sleevi <sleevi@google.com> wrote:
>
> On Sep 29, 2013 11:32 AM, "Jeffrey Walton" <noloader@gmail.com> wrote:
>>
>> Hi All/Ryan,
>>
>> I have an authentication scheme built around Diffie-Hellman over Z_n.
>> The scheme uses n_1, n_2, p_1, p_2, s_1, s_2, ..., s_n, where n_1 and
>> n_2 are nonces, p_1 and p_2 are public keys, and s_1, s_2, ..., s_n
>> are provisioned secrets.
>>
>> I need the following operations: addition, subtraction,
>> multiplication, exponentiation and remainder (modulo). And I possibly
>> need a well defined toByteArray() to ensure I get consistent bit
>> patterns across platforms when I want to do something like
>> Hash(BigInteger).
>>
>> Looking at http://www.w3.org/TR/WebCryptoAPI/#big-integer, I don't see
>> any operations defined on the BigInteger.
>>
>> What operations will I be allowed to perform on BigInteger's?
>>
> None. It is just a storage type.
>
> You can see the archives for when we debated this at great length (including
> our last face to face), about the right level of abstraction.
Thanks Ryan. That's unfortunate, since I use it extensively for its
mutual authentication and channel binding properties.

Jeff

Received on Sunday, 29 September 2013 19:42:56 UTC