Iran's top national security official vowed on Tuesday that his country will "hide" its nuclear programme if attacked.