Fix parallel edge-cases
Improve PRNG performance

Only regenerate the SecretKeySpec when it changes
Try improving rand performance by avoiding an array clone in Cipher init.