bradencarlson / sage-jupyter

SageMath files (via Jupyter Notebooks) that give an introduction to using SageMath to explore select topics in Abstract Algebra and Cryptography. Note that no local installation of SageMath or Jupyter Notebooks is required to access and use this Project
MIT License
3 stars 2 forks source link

Algebraic Coding Issues #20

Closed bradencarlson closed 2 years ago

bradencarlson commented 2 years ago
bradencarlson commented 2 years ago

This has been fixed. The .transmit() function now does not check the type of the list that is passed, but rather, checks to ensure that the list contains only ones and zeros. It then continues to use the class Bernoulli instance to randomly change bits in the mesage, and then instead of returning a matrix, since this was also breaking, it returns a list. This will change how this class is used, since the messages to be transmited will have to be converted to lists, and messages recieved will have to be changed from lists to matrices.