Descriptioncrypto/rsa: support > 3 primes.
With full multi-prime support we can support version 1 PKCS#1 private
keys. This means exporting all the members of rsa.PrivateKey, thus
making the API a little messy. However there has already been another
request to export this so it seems to be something that's needed.
Over time, rsa.GenerateMultiPrimeKey will replace rsa.GenerateKey, but
I need to work on the prime balance first because we're no longer
generating primes which are a multiples of 8 bits.
Fixes issue 987.
Patch Set 1 #Patch Set 2 : diff -r f618e5e0991d https://go.googlecode.com/hg/ #Patch Set 3 : diff -r f618e5e0991d https://go.googlecode.com/hg/ #
Total comments: 1
Patch Set 4 : diff -r 4defb90e2567 https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 4defb90e2567 https://go.googlecode.com/hg/ #
Total comments: 2
Patch Set 6 : diff -r dcf76518ce87 https://go.googlecode.com/hg/ #Patch Set 7 : diff -r dcf76518ce87 https://go.googlecode.com/hg/ #
MessagesTotal messages: 7
|