Glenn Chapman/AFP/Getty Images/CNN
Now playing
03:38
He says Facebook's Libra is the future. Lawmakers aren't so sure
CNN
Now playing
03:22
Bank of America CEO reveals his top worry about the economy
US Navy
Now playing
01:28
Pentagon confirms UFO video is real, taken by Navy pilot
marte fotos volcan olympus mons sistema solar hope ultravioleta perspectivas mexico_00000411.png
marte fotos volcan olympus mons sistema solar hope ultravioleta perspectivas mexico_00000411.png
Now playing
04:12
Why we are going to Mars
Twitter | @brady9dream
Now playing
02:10
Pet owners pitch their pups to be dog brew's 'Chief Tasting Officer'
Now playing
01:32
Scientists turned spiderwebs into music and it sounds like a nightmare
LONDON, ENGLAND - DECEMBER 07:  A visual representation of the digital Cryptocurrency, Bitcoin on December 07, 2017 in London, England. Cryptocurrencies including Bitcoin, Ethereum, and Lightcoin have seen unprecedented growth in 2017, despite remaining extremely volatile. While digital currencies across the board have divided opinion between financial institutions, and now have a market cap of around 175 Billion USD, the crypto sector coninues to grow, as it continues to see wider mainstreem adoption. The price of one Bitcoin passed 15,000 USD across many exchanges today taking it higher than previous all time highs.  (Photo by Dan Kitwood/Getty Images)
Dan Kitwood/Getty Images
LONDON, ENGLAND - DECEMBER 07: A visual representation of the digital Cryptocurrency, Bitcoin on December 07, 2017 in London, England. Cryptocurrencies including Bitcoin, Ethereum, and Lightcoin have seen unprecedented growth in 2017, despite remaining extremely volatile. While digital currencies across the board have divided opinion between financial institutions, and now have a market cap of around 175 Billion USD, the crypto sector coninues to grow, as it continues to see wider mainstreem adoption. The price of one Bitcoin passed 15,000 USD across many exchanges today taking it higher than previous all time highs. (Photo by Dan Kitwood/Getty Images)
Now playing
03:07
Bitcoin has an energy problem
Accused $50 billion Ponzi scheme swindler Bernard Madoff exits federal court March 10, 2009 in New York City. Madoff was attending a hearing on his legal representation and is due back in court Thursday.  (Photo by Mario Tama/Getty Images)
Mario Tama/Getty Images
Accused $50 billion Ponzi scheme swindler Bernard Madoff exits federal court March 10, 2009 in New York City. Madoff was attending a hearing on his legal representation and is due back in court Thursday. (Photo by Mario Tama/Getty Images)
Now playing
03:11
Bernie Madoff, infamous Ponzi schemer, dead at 82
Now playing
05:18
Coinbase CFO: We're an on-ramp to the crypto economy
A man checks vine buds during the burning of anti-frost candles in the Luneau-Papin wine vineyard in Le Landreau, near Nantes, western France, on April 12, 2021, as temperatures fall below zero degrees celsius.
Sebastien Salom-Gomis/AFP/Getty Images
A man checks vine buds during the burning of anti-frost candles in the Luneau-Papin wine vineyard in Le Landreau, near Nantes, western France, on April 12, 2021, as temperatures fall below zero degrees celsius.
Now playing
01:37
See how French winemakers are trying to save their crops from frost
SUEZ, EGYPT - MARCH 29: The container ship 'Ever Given' is refloated, unblocking the Suez Canal on March 29, 2021 in Suez, Egypt. This morning the container ship came partly unstuck from the shoreline, where it ran aground in the canal last Tuesday, and later resumed its course shortly after 3pm local time. The Suez Canal is one of the world's busiest shipping lanes and the blockage had created a backlog of vessels at either end, raising concerns over the impact on global shipping and supply chains. (Photo by Mahmoud Khaled/Getty Images)
Mahmoud Khaled/Getty Images
SUEZ, EGYPT - MARCH 29: The container ship 'Ever Given' is refloated, unblocking the Suez Canal on March 29, 2021 in Suez, Egypt. This morning the container ship came partly unstuck from the shoreline, where it ran aground in the canal last Tuesday, and later resumed its course shortly after 3pm local time. The Suez Canal is one of the world's busiest shipping lanes and the blockage had created a backlog of vessels at either end, raising concerns over the impact on global shipping and supply chains. (Photo by Mahmoud Khaled/Getty Images)
Now playing
00:57
Egypt seizes Ever Given ship, asks for $900M in compensation
CNN
Now playing
03:06
Hear doctor's message for people with J&J vaccine concerns
Barbers from King's Cutz give haircuts indoors while observing COVID-19 safety restrictions on March 13, 2021 in Los Angeles, California.
Mario Tama/Getty Images
Barbers from King's Cutz give haircuts indoors while observing COVID-19 safety restrictions on March 13, 2021 in Los Angeles, California.
Now playing
01:43
US consumer prices increased in March
Now playing
03:21
Teachers under pandemic stress are quitting: I didn't feel safe
Domino's autonomous vehicle will deliver your pizza
Domino's
Domino's autonomous vehicle will deliver your pizza
Now playing
01:12
Watch this robot deliver a Domino's pizza
Now playing
01:27
See the first community of 3D-printed homes
(CNN) —  

Facebook is resisting calls by Attorney General William Barr to delay the company’s rollout of encryption technology across its platforms, ratcheting up tensions between the tech industry and law enforcement over a pivotal security issue affecting billions of consumers.

Responding this week to an earlier letter Barr sent to the tech giant, Facebook (FB) said encryption protects businesses and personal communications from hackers. Giving into law enforcement demands for special access to that data, Facebook (FB) said, would endanger public safety.

Barr’s proposal would be a “gift to criminals, hackers and repressive regimes,” the technology giant said in its response, which was dated Monday and released to the public on Tuesday.

Facebook said earlier this year that it planned to add end-to-end encryption to its various messaging platforms, including WhatsApp and Messenger, as part of a broader effort to position itself as more focused on privacy.

Facebook’s response to Barr was released as representatives from the company and Apple (AAPL) were set to appear at a Senate hearing Tuesday on the benefits and risks of encryption.

The exchange highlights a renewed debate over encryption technology, spurred in large part by Barr himself. In recent months, Barr has questioned whether encryption – an option to conceal the contents of the message from anyone other than the people who sent and received it – may be allowing criminals to evade detection by the authorities.

“By enabling dangerous criminals to cloak their communications and activities behind an essentially impenetrable digital shield, the deployment of warrant-proof encryption is already imposing huge costs on society,” Barr argued in a speech at Fordham University’s International Conference on Cyber Security in July.

But for years, the tech industry — alongside academics, civil society groups and security engineers — has argued that exceptions for law enforcement will inevitably be exploited by determined cybercriminals, which they argue makes the cure more dangerous than the disease.

A group of more than 100 organizations, experts and privacy advocates wrote separately to Barr on Tuesday, saying that technologists “cannot build systems that are inherently able to tell when ‘bad’ people use them, just as engineers cannot design sidewalks and highways to crumble underneath the feet of certain people.”

Facebook’s own response to Barr cited that letter, and added that building backdoor access for law enforcement “is not something we are prepared to do.”

Encryption is the public’s “first line of defense” against online attackers, Facebook said, “as it keeps them safe from cyber attacks and protected from falling into the hands of criminals.”