Search:

Type: Posts; User: laserlight

Search: Search took 0.39 seconds.

  1. Replies
    5
    Views
    4,861

    I think that the important question to ask is:...

    I think that the important question to ask is: what does the Ciphertext class model?

    Admittedly, I did not look very closely into the given code, but now I see that the Ciphertext class seems to...
  2. Replies
    5
    Views
    4,861

    That would be implementation detail. The...

    That would be implementation detail. The output_ciphertext_screen() member function is sufficient.


    One way would be to overload operator<< for std::ostream such that you can write:

    std::cout...
  3. Replies
    5
    Views
    4,861

    You need to create a Ciphertext object and call...

    You need to create a Ciphertext object and call output_ciphertext_screen using it. Of course the key variable also should be defined.

    int main()
    {
    Ciphertext cipher_text;
    ...
Results 1 to 3 of 3