qkd_key_rate.base.sender module
Base class for Sending party.
- class qkd_key_rate.base.sender.SenderBase(message, permutations, name=None)[source]
Bases:
object
This class encodes all functions available to both sender and receiver.
- __init__(message, permutations, name=None)[source]
- Parameters:
message (
Message
) – Input message of the sender partypermutations (
Permutations
) – List containing permutations for each passname (
Optional
[str
]) – Name of the sender party
- property message: Message
Returns the (partially corrected) message.
- Return type:
Message
- property original_message: Message
Returns original uncorrected message.
- Return type:
Message