And the answer is all of these topics I used in TOR.
Counter mode encryption is used for the cells
to relay messages. Cryptographic hashing, Diffie-Hellman
key exchange and RSA encryption are all used in cell
creation and key exchange and TLS is used by all the onion
routers to maintain connections between each other.
