Update gen-cryptkey