MarkB Posted January 23, 2007 Share Posted January 23, 2007 I'll keep it relatively short. I'm looking to create a program that can work on recognising strings of numbers input into it. I have a decent amount of experience in VB6, but haven't used it for anything like this before, so I'm looking for ideas on the best way to proceed. The program will have to be able to highlight similarities in number strings. So If I input "6771 5237" as one string and "9444 1682" as a second, the program will have be able to recognise that the first 2 digits of block one should equate to 13, the last 2 digits of block one should equate to 8, the first 2 digits of block two should equate to 7 and the last 2 digits of block two should equate to 10. Only if all of these equations match will the number be valid, and I'll code a message informing the user of the validity. If the last 2 digits of block two were, for example, 81 instead of 82, the number would be invalid, and the user would, again, receive an appropriate message. Now, I'll be using strings twice as large as those above (16 digits as opposed to , and I'm aware that it will be a very complicated algorithm. So, if any math geniuses, specifically anyone with experience in programming and math, have any idea what I'm trying to do from the above, please let me know. Just to satisfy curiosity as well, I'm not cloning credit cards or anything similar. Alternatively, if anyone knows of any existing programs or functions that can do this already, I'd appreciate a link. Thanks. :) Link to comment Share on other sites More sharing options...
compmaniac Posted January 23, 2007 Share Posted January 23, 2007 I'll keep it relatively short. I'm looking to create a program that can work on recognising strings of numbers input into it. I have a decent amount of experience in VB6, but haven't used it for anything like this before, so I'm looking for ideas on the best way to proceed. The program will have to be able to highlight similarities in number strings. So If I input "6771 5237" as one string and "9444 1682" as a second, the program will have be able to recognise that the first 2 digits of block one should equate to 13, the last 2 digits of block one should equate to 8, the first 2 digits of block two should equate to 7 and the last 2 digits of block two should equate to 10. Only if all of these equations match will the number be valid, and I'll code a message informing the user of the validity. If the last 2 digits of block two were, for example, 81 instead of 82, the number would be invalid, and the user would, again, receive an appropriate message. Now, I'll be using strings twice as large as those above (16 digits as opposed to , and I'm aware that it will be a very complicated algorithm. So, if any math geniuses, specifically anyone with experience in programming and math, have any idea what I'm trying to do from the above, please let me know. Just to satisfy curiosity as well, I'm not cloning credit cards or anything similar. Alternatively, if anyone knows of any existing programs or functions that can do this already, I'd appreciate a link. Thanks. Do you mean that the program has to figure out what the algorithm is, or will you tell the computer the algorithm, and then the computer will generate 16-digit numbers that satisfy the algorithm? Because generating 16-digit numbers from an algorithm is not that hard... ...but generating an algorithm from 16-digit numbers is very hard. Link to comment Share on other sites More sharing options...
MarkB Posted January 23, 2007 Author Share Posted January 23, 2007 Yep, that's the difficult part. The program has to figure out what the algorithm is and inform the user of whether or not the values given dictate as a valid number. I'm fully expecting any final program I do make to be a resource hog (it's safe to say I'll be getting an old system out of abandoned retirement in order to run the program at 100% CPU usage for a week or so in order to figure out the algorithm). Link to comment Share on other sites More sharing options...
compmaniac Posted January 23, 2007 Share Posted January 23, 2007 Yep, that's the difficult part. The program has to figure out what the algorithm is and inform the user of whether or not the values given dictate as a valid number. I'm fully expecting any final program I do make to be a resource hog (it's safe to say I'll be getting an old system out of abandoned retirement in order to run the program at 100% CPU usage for a week or so in order to figure out the algorithm). Sorry, man. I have no idea what to do. I can't think of any way except to input like a billion different equations and have the computer use each one... Link to comment Share on other sites More sharing options...
UncleMo Posted January 23, 2007 Share Posted January 23, 2007 Sorry if my question is spam, really, but are you cracking madden by any chance? Link to comment Share on other sites More sharing options...
MarkB Posted January 23, 2007 Author Share Posted January 23, 2007 Nope. :lol: Link to comment Share on other sites More sharing options...
compmaniac Posted January 23, 2007 Share Posted January 23, 2007 Nope. Anything to do with cracking? Link to comment Share on other sites More sharing options...
DJEagles Posted January 23, 2007 Share Posted January 23, 2007 Anything to do with cracking? 350 posts...350 posts...over half of them have come over the week-end. Please, we have defended you to the members around here, A LOT lately, and you just seem to be spamming up a storm. Almost every thread I have read lately, you have spammed in, including making fun of another spammer.... Please, before you are slapped with the "spammer" title again, please just think before you post. For someone who claims to go to a "Blue Ribbon" school, you sure seem to be pretty thick-headed. Sorry MarkB, I am just getting frustrated defending this guys post count... Link to comment Share on other sites More sharing options...
MarkB Posted January 23, 2007 Author Share Posted January 23, 2007 No problem DJ, I agree with you. Anything to do with cracking? Yes, as is evident from my first post. The end goal is to design a program that will, to use your term, "crack" the algorithm used in the series of numbers. Link to comment Share on other sites More sharing options...
DJEagles Posted January 23, 2007 Share Posted January 23, 2007 I hope the program isn't used to crack my "Pay Program" for my "Midget Porn-site". If you are that desperate Mark, I will let you join for free... LMAO! Link to comment Share on other sites More sharing options...
RaptorQuiz Posted January 23, 2007 Share Posted January 23, 2007 I hope the program isn't used to crack my "Pay Program" for my "Midget Porn-site". If you are that desperate Mark, I will let you join for free... LMAO! Hey you SOB! You told me I couldn't have a free membership, and I submitted half of those damned pictures! :lmao: Link to comment Share on other sites More sharing options...
MarkB Posted January 23, 2007 Author Share Posted January 23, 2007 Damn it DJ, you had to let the secret out of the bag, didn't you? :readingxxx: The program won't be used for illegal activities of any sort - that means no Madden modding, no illegal "cracking", no unauthorised file modification, no credit card fraud, blah, blah, blah. It's simply a program to attempt to decipher an algorithm being used on a series of numbers. Link to comment Share on other sites More sharing options...
Misigoy Posted January 23, 2007 Share Posted January 23, 2007 So are you checking the sums of consecutive groups of digits? random groupings of digits? always groups of two? or all of the above? And would you be giving the program a set of valid numbers and then asking it to produce the rules and/or check the validity of other numbers? Link to comment Share on other sites More sharing options...
MarkB Posted January 23, 2007 Author Share Posted January 23, 2007 I'm not so much checking the sums as trying to find out what all the sequences have in common to make them all alike. The numbers will always be four blocks of four - 16 digits per sequence. I'd be giving the program a certain number of valid sequences, then basically asking it to find the similarities in all the sequences. An option to generate other sequences based on the algorithm it produces would be handy now that I think of it. Link to comment Share on other sites More sharing options...
compmaniac Posted January 23, 2007 Share Posted January 23, 2007 I'm not so much checking the sums as trying to find out what all the sequences have in common to make them all alike. The numbers will always be four blocks of four - 16 digits per sequence. I'd be giving the program a certain number of valid sequences, then basically asking it to find the similarities in all the sequences. An option to generate other sequences based on the algorithm it produces would be handy now that I think of it. Would you be interested in a program that ONLY generates sequences based on an algorithm, and not vice versa? Link to comment Share on other sites More sharing options...
RaptorQuiz Posted January 23, 2007 Share Posted January 23, 2007 Would you be interested in a program that ONLY generates sequences based on an algorithm, and not vice versa? That's not going to help him unless he already HAD the program to deduce the algorithm presented by the sample series of numbers. Do you know how I got the answer to that question? I read the previous posts in this thread. And I know you did too. So I know you knew the answer to that question as well. So the question is this: WHY DID YOU ASK THAT? Dude - if you're wondering why people are getting annoyed with your endless questions - it's because you have developed an unfortunate habit of asking questions that it should be plainly obvious that you already have the answers to. Link to comment Share on other sites More sharing options...
MarkB Posted January 23, 2007 Author Share Posted January 23, 2007 Well, that would be the generator, but the algorithm used would need to be discovered first. I've received a PM from someone who's going to give it a shot, so this can be placed on hold for now. Thanks for the interest, I'll post back with results. :) Link to comment Share on other sites More sharing options...
jchanyaem Posted January 23, 2007 Share Posted January 23, 2007 What you are asking is very hard to find "all patterns." What is feasable is to find all matching patterns which you have defined. For instance one pattern would match on subtraction, or addition, or prime number, etc... What you would do is iterate through the strings using recrusion to compare every possible string combination against each of your patterns. Link to comment Share on other sites More sharing options...
jchanyaem Posted January 23, 2007 Share Posted January 23, 2007 BTW are you comparing the whole string or could you rearrange your data to look like this: BLOCK1 BLOCK2 BLOCK3 BLOCK4 6771 5237 1111 3333 9444 1682 2222 4444 So you would only compare 6771 to 9444 in Block1 and 5237 to 1682 in Block2 or is it every possible combination of numbers? Link to comment Share on other sites More sharing options...
MarkB Posted January 24, 2007 Author Share Posted January 24, 2007 Comparing the whole string, no breaking. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.