Key generator working.