moved key generation to thread pool
updated readme for async key generation
changed example to 1024-bit key generation