Add key random generation