qkd_key_rate.base.message module
Base class for Message object.
- class qkd_key_rate.base.message.Message(message)[source]
Bases:
object
Message object
- apply_permutation(permutation)[source]
Apply a permutation to the message
- Parameters:
permutation (
List
[int
]) – The permutation that is applied
- property length: int
Length of message
- Return type:
int
- message: Union[List[int], List[str], str]