Sen. Rand Paul (R-Ky.) warned of a "grand spymaster" and criticized government spying programs during an event in Las Vegas on Friday.

Paul, who has been a vocal critic of surveillance programs, questioned the government during a speech at a Freedom Fest, the Las Vegas Sun reports.

"What if you were a minority by virtue of the color of your skin or the color of your ideology? Will the ends justify the means?” he said. “What if the frightened majority pleads security as they rifle through your mail? What if the grand spymaster uses the least untruthful of his lies to send you to prison but he claims he does it for your own good?”

Some of Paul's criticism was a nod to Director of National Intelligence James Clapper, who said in June he gave the "least untruthful" answer possible on the National Security Agency's surveillance program when he told Congress in March that the agency does not collect data on millions of Americans.

“The surveillance state quietly avoids the fact that their leader lied to Congress, a felony punishable by up to five years,” Paul said. “Not a peep about any prosecution from the one who lied, only vim and vigor for the blood of the leaker.”

After reports of the National Security Agency's collection of Verizon phone records broke, Paul issued a statement saying the NSA's order to scoop up phone call records was an "astounding assault on the Constitution." He also said he is weighing a Supreme Court challenge to the surveillance programs, calling them an "extraordinary invasion of privacy."

But Paul's criticism of the National Security Agency could hurt him later on. The AP reported earlier:

Of the handful of tea party-backed Republicans eyeing a 2016 presidential bid, Sen. Rand Paul is emerging as the most forceful in pushing libertarian principles, especially on anti-terrorism issues.

Rather than playing it politically safe, the Kentucky freshman is attacking government surveillance programs that many other Republicans – and many American voters in general – defend.

It could hurt him if GOP activists, who dominate primary elections, decide Paul over-emphasizes privacy at the expense of secret data-collection programs, which the administration says are essential to detecting potential terrorists.

The strategy suggests Paul hopes to inherit his father's libertarian loyalists even if it might complicate efforts to reach a much wider electorate, capable of nominating him – and electing him – to the White House.

Also on HuffPost:

Loading Slideshow...
  • The sun rises behind the U.S. Capitol Dome early in the morning before the ceremonial swearing-in of President Barack Obama during the 57th Presidential Inauguration in Washington, Monday, Jan. 21, 2013. (AP Photo/Paul Sancya)

  • The Capitol dome is silhouetted as the sun rises in Washington, Monday, Oct. 15, 2012. (AP Photo/J. Scott Applewhite)

  • The moon rises behind the U.S. Capitol Dome in Washington as Congress worked into the late evening, Sunday, Dec. 30, 2012 to resolve the stalemate over the pending "fiscal cliff." (AP Photo/J. David Ake)

  • Dark clouds surround the Capitol dome on Capitol Hill in Washington, Friday, June 1, 2012, as severe weather comes to the area. (AP Photo/Alex Brandon)

  • The U.S. Capitol dome is seen on December on 17, 2010 in Washington, D.C. (KAREN BLEIER/AFP/Getty Images)

  • The dome of the Capitol is reflected in a skylight of the Capitol Visitor's Center in Washington, Tuesday, Jan. 1, 2013. (AP Photo/Jacquelyn Martin)

  • Storm clouds fill the sky over the U.S. Capitol Building, June 13, 2013 in Washington, D.C. (Photo by Mark Wilson/Getty Images)

  • Law enforcement officers line up on the lawn on the east side of the U.S. Capitol during the 32nd annual National Peace Officers' Memorial Service at the U.S. Capitol May 15, 2013 in Washington, D.C. (Photo by Chip Somodevilla/Getty Images)

  • Storm clouds fill the sky over the U.S. Capitol Building, June 13, 2013 in Washington, D.C. (Photo by Mark Wilson/Getty Images)

  • A U.S. flag flies at half staff on the U.S. Capitol April 15, 2013 on Capitol Hill in Washington, D.C. (Photo by Alex Wong/Getty Images)

  • The U.S. Capitol dome and Christmas tree are seen December 18, 2011 in Washington. (KAREN BLEIER/AFP/Getty Images)

  • A view of the U.S. Capitol's rotunda and a TV truck's satellite dish before the State of the Union address on Capitol Hill January 25, 2011 in Washington, D.C. (Photo by Brendan Smialowski/Getty Images)

  • A flag flies at half-mast over the dome of the U.S. Capitol in Washington, D.C., January 10, 2011, in honor of the six people killed in the shooting in Tucson, Arizona, that also severely wounded Arizona Representative Gabrielle Giffords. SAUL LOEB/AFP/Getty Images)

  • A Christmas after being lit by U.S. House Speaker Nancy Pelosi, D-Calif, is pictured before the Capitol Hill dome in Washington on December 7, 2010. (JEWEL SAMAD/AFP/Getty Images)

  • The Capitol Dome is seen during a rehearsal for the Inauguration Ceremony January 11, 2009. (PAUL J. RICHARDS/AFP/Getty Images)

  • The U.S. flag flies in front of the US Capitol dome on December 24, 2008 in Washington, D.C. (KAREN BLEIER/AFP/Getty Images)

  • The dome of the U.S. Capitol is seen at dusk on December 9, 2008 in Washington, D.C. (KAREN BLEIER/AFP/Getty Images)

  • The Capitol dome is seen silhouetted against the rising sun in Washington, DC, on February 1, 2010. (JEWEL SAMAD/AFP/Getty Images)

  • The illuminated Capitol Dome is pictured late November 21, 2008 in Washington, D.C. (PAUL J. RICHARDS/AFP/Getty Images)

  • The dome of the U.S. Capitol is seen in Washington, D.C. on September 20, 2008. (KAREN BLEIER/AFP/Getty Images)