generate the key for KingWord