Turn on thread page Beta
    • Thread Starter
    Offline

    13
    ReputationRep:
    So im stuck on creating an algorithm for my task 1 which is about the Caesar Cyper.
    Offline

    15
    ReputationRep:
    (Original post by ZS1)
    So im stuck on creating an algorithm for my task 1 which is about the Caesar Cyper.
    in what specific thing you are stuck on?
    did you made a start?
    Offline

    1
    ReputationRep:
    Hiya?
    What is Task 1 about?
    Try To give more detail about the scenario and what you have to do?
    • Thread Starter
    Offline

    13
    ReputationRep:
    (Original post by 15anonymous15)
    Hiya?
    What is Task 1 about?
    Try To give more detail about the scenario and what you have to do?
    I have to create an algorithm about a Casar Cipher
    Offline

    6
    ReputationRep:
    You might find some help here..,
    http://www.thestudentroom.co.uk/show....php?t=3912517
    Offline

    17
    ReputationRep:
    Create an array of 26 characters letters a-z

    Create an getEncrypterdChar function.

    This functions finds the index of a given character in the array and adds 13 to it.
    It then checks if the index is greater than 26 and if so subtracts 26.
    It then fetches the character at that index from the array.

    In your main program read in the user input to be encrypted.
    Loop over each character using a for loop passing the character to getEncrypted and printing out the result.

    To decrypt encrypted text just do the same thing. This is a Caesar cypher called rot13
    Offline

    1
    ReputationRep:
    What language do you have to use to do this? I'm happy to help using python.
    • Thread Starter
    Offline

    13
    ReputationRep:
    (Original post by ZS1)
    So im stuck on creating an algorithm for my task 1 which is about the Caesar Cyper.
    (Original post by peterxz)
    What language do you have to use to do this? I'm happy to help using python.
    .

    Yeah python mate
    Offline

    1
    ReputationRep:
    (Original post by ZS1)
    .

    Yeah python mate
    What exactly are you stuck with? Have you tried coding anything at all yet?
    • Thread Starter
    Offline

    13
    ReputationRep:
    (Original post by peterxz)
    What exactly are you stuck with? Have you tried coding anything at all yet?
    Just the algorithm . my code's working perfectly
 
 
 
Reply
Submit reply
Turn on thread page Beta
Updated: April 4, 2016

University open days

  1. University of Bradford
    University-wide Postgraduate
    Wed, 25 Jul '18
  2. University of Buckingham
    Psychology Taster Tutorial Undergraduate
    Wed, 25 Jul '18
  3. Bournemouth University
    Clearing Campus Visit Undergraduate
    Wed, 1 Aug '18
Poll
How are you feeling in the run-up to Results Day 2018?

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Write a reply...
Reply
Hide
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.