Changed generator - it can generate multiple key pairs