- From: Jeffrey Walton <noloader@gmail.com>
- Date: Sun, 29 Sep 2013 14:32:12 -0400
- To: WebCrypto Comments <public-webcrypto-comments@w3.org>
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
Received on Sunday, 29 September 2013 18:32:39 UTC