It's UWAweek 47

help3007

This forum is provided to promote discussion amongst students enrolled in CITS3007 Secure Coding. If posting a question, it's suggested you check first whether your question is answered in the unit Frequently Asked Questions (FAQ) list, and use the search box (on the right) to see if an answer to your question has already been posted.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

Note that any posts must comply with the UWA Code of Conduct and the UWA Academic Conduct Policy. That means you should (a) treat everyone with respect and courtesy, and (b) not post your solutions to an assessment that's in progress.

If asking a programming question, it's recommended you read How do I ask a good question? If reporting or troubleshooting a bug in software used in the unit, it's recommend you read How to report bugs effectively.
Displaying selected article
Showing 1 of 170 articles.
Currently 22 other people reading this forum.


 UWA week 19 (1st semester, week 10) ↓
SVG not supported

Login to reply

👍?
helpful
4:08pm Mon 6th May, Arran S.

Hi all,

I'll likely post the revised project spec towards the end of this week. After that point, the spec can be considered "frozen" (as per the guidelines here).

A few corrections or clarifications I'll be making:

  • For the Caesar functions, the key will be allowed to be in the range (range_low - range_high) (which will be negative) through to (range_high - range_low), inclusive – since otherwise, the key would be limited to non-negative values, and it wouldn't really make sense to say that decryption is exactly equivalent to encrypting with a negative key.

    (There are potentially other ways of making the spec consistent, e.g. by defining the semantics of Caesar decryption in terms of moduli, but allowing negative keys is the simplest way in my opinion.)

  • For the Vigenère functions, it's a precondition of the function that all characters in the key must fall entirely between low_range and high_range (inclusive).

Cheers,

Arran

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy