simple generation of private&public keys