Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Finding an algorithm

Right, first off I am not an advanced programmer and am self taught in what I do know so please keep that in mind.

is it possible to reverse engineer an algorithm, if I had an output code based on multiple events and had all of these events logged and also had multiple instances of this code and the events. Would it be possible to:

a) Write a program that takes all of the data I have collected (output code and input data) and work out the algorithm used to create that code.

b) Use the algorithm with my own input data to create my own codes.

And how would I go about writing a program to do this?

Comments

  • Malcolm_McLeanMalcolm_McLean Posts: 248Member ✭✭
    : Right, first off I am not an advanced programmer and am self taught
    : in what I do know so please keep that in mind.
    :
    : is it possible to reverse engineer an algorithm, if I had an output
    : code based on multiple events and had all of these events logged and
    : also had multiple instances of this code and the events. Would it be
    : possible to:
    :
    : a) Write a program that takes all of the data I have collected
    : (output code and input data) and work out the algorithm used to
    : create that code.
    :
    : b) Use the algorithm with my own input data to create my own codes.
    :
    : And how would I go about writing a program to do this?
    :

    It's harder than you might imagine.

    Say input is 2, 3 then 5, 4 then 3, 3 and output is 5, 9, 6. Any human will instnatly twig that the operation must be addition. However it is almost impossible to get a computer to think in a flexible way.


  • geoffrey2312geoffrey2312 Posts: 2Member

    : Say input is 2, 3 then 5, 4 then 3, 3 and output is 5, 9, 6. Any
    : human will instnatly twig that the operation must be addition.
    : However it is almost impossible to get a computer to think in a
    : flexible way.
    :
    :
    :
    Basically as a struggling student I was going go have a go at putting free electricity into the meter. I have all the slips for the last few years and in each there is a code you put in to the machine. I imagine the code is an algorithm based on the amount, time, date, card no. and maybe the shop. I have religiously purchased electricity from my local shop and saved all these receipts.

    I know that this is morally wrong but when I have finished studying and am actually earning money I will happily pay my way. Until then its shoestring budget and a short course in electricianing
Sign In or Register to comment.