Simple key generator