fixing proper use of exp in generateKeyPair(b, exp) and tests
Merge pull request #6 from thomasbl/master

fixing proper use of exp in generateKeyPair(b, exp) and tests