- From: Ryan Sleevi <sleevi@google.com>
- Date: Sun, 29 Sep 2013 12:15:28 -0700
- To: Jeffrey Walton <noloader@gmail.com>
- Cc: WebCrypto Comments <public-webcrypto-comments@w3.org>
Received on Sunday, 29 September 2013 19:15:54 UTC
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? > > Jeff 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. >
Received on Sunday, 29 September 2013 19:15:54 UTC