Regenerate secure key