relaycrypto

Details

RelayCrypto objects make up a circuit’s crypt_path. They are just thin wrappers around AES128-CTR ciphers and running SHA-1 digests, and provide circuit’s with forward/backward ciphers and digests.

class crypto.relaycrypto.RelayCrypto

Bases: tuple

RelayCrypto(forward_digest, backward_digest, forward_cipher, backward_cipher)

backward_cipher

Alias for field number 3

backward_digest

Alias for field number 1

forward_cipher

Alias for field number 2

forward_digest

Alias for field number 0

Previous topic

ntorhandshake

Next topic

util

This Page