# Post Quantum Cryptography

**URL:** https://forum.torproject.org/t/post-quantum-cryptography/6563
**Category:** General Discussion
**Tags:** tor
**Created:** [February 14, 2023, 8:41pm UTC](https://forum.torproject.org/t/post-quantum-cryptography/6563 "2023-02-14T20:41:23Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![dt76539](https://forum.torproject.org/letter_avatar_proxy/v4/letter/d/df705f/32.png) [@dt76539](https://forum.torproject.org/u/dt76539)
#### Post date: [February 14, 2023, 8:41pm UTC](https://forum.torproject.org/t/post-quantum-cryptography/6563/1 "2023-02-14T20:41:23Z")

</div>

Is there any discussion or progress on PQC? There are already photonic silicon spin qubits available with over

1 million qubits.

---

<div class="post-metadata">

### Author: ![essn](https://forum.torproject.org/letter_avatar_proxy/v4/letter/e/c89c15/32.png) [@essn](https://forum.torproject.org/u/essn)
#### Post date: [March 21, 2023, 11:56am UTC](https://forum.torproject.org/t/post-quantum-cryptography/6563/2 "2023-03-21T11:56:11Z")

</div>

Irrespective of how powerful quantum computers are in the moment, for some critical data you’d need to consider an attacker who stores asym. encrypted traffic and waits until QC are powerful enough to break the encryption afterwards.

NIST chose [some algorithms](https://csrc.nist.gov/Projects/post-quantum-cryptography/selected-algorithms-2022) – I guess they could be plugged in as replacements for RSA (or whatever is currently used).

Google used some of [those algorithms for Chrome and TLS](https://blog.cloudflare.com/the-tls-post-quantum-experiment/) and has some performance comparisons.

Would increased key lengths and reduced speed pose problems for TOR nodes etc.?

---

<div class="post-metadata">

### Author: ![ahf](https://forum.torproject.org/user_avatar/forum.torproject.org/ahf/32/3_2.png) [@ahf](https://forum.torproject.org/u/ahf)
#### Post date: [March 21, 2023, 11:27pm UTC](https://forum.torproject.org/t/post-quantum-cryptography/6563/3 "2023-03-21T23:27:59Z")

</div>

Hello, and welcome to the Tor community forum!

I just answered a similar question over on r/tor on Reddit. Going to copy and paste my answer here. The short answer is yes, we will eventually be moving to a hybrid encryption scheme for post-quantum encryption. We have a significant dependency we need to fix and deploy in the network before we can do so, though, and that’s “fragmented cells.”

Fragmented cells will allow us to split messages over multiple cells within the Tor network, thus opening us up to having much larger handshake material passed around amongst relays and clients. This is needed since most of the post-quantum handshakes bring significantly larger payloads with them. The most up-to-date specification for fragmented cells can be seen at [proposals/340-packed-and-fragmented.md · main · The Tor Project / Core / Tor Specifications · GitLab](https://gitlab.torproject.org/tpo/core/torspec/-/blob/main/proposals/340-packed-and-fragmented.md)

We plan on rolling out fragmented cells later this year as we begin the work on supporting UDP within the Tor network as well.

Once fragmented cells are in, we can begin the development of circuit-level post-quantum cryptography. For the outer TLS layer, we will likely need support in the commonly used TLS libraries deployed in the Tor network (OpenSSL, LibreSSL, etc.).

---

<div class="post-metadata">

### Author: ![ahf](https://forum.torproject.org/user_avatar/forum.torproject.org/ahf/32/3_2.png) [@ahf](https://forum.torproject.org/u/ahf)
#### Post date: [March 21, 2023, 11:29pm UTC](https://forum.torproject.org/t/post-quantum-cryptography/6563/4 "2023-03-21T23:29:50Z")

</div>

> [@essn](#):
>
> Would increased key lengths and reduced speed pose problems for TOR nodes etc.?

Unlikely. PQC will add some overhead to the handshake, but we don’t do many of those. The asymmetric encryption/decryption will be just as fast as before. Basically, connecting and expanding circuits in the network will be slightly slower, but once you start transferring payload data, the speed should remain the same as before.

---

<div class="post-metadata">

### Author: ![system](https://forum.torproject.org/uploads/default/original/2X/d/d3424bed34f4ec18b2e99178c2801ba6dfb655d6.png) [@system](https://forum.torproject.org/u/system)
#### Post date: [March 22, 2023, 11:30pm UTC](https://forum.torproject.org/t/post-quantum-cryptography/6563/5 "2023-03-22T23:30:08Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
