Search found 104 matches

by Magialisk
25 Nov 2013 17:40
Forum: DOS Batch Forum
Topic: Multi-process Advanced Encryption Standard (AES)
Replies: 51
Views: 50365

Re: Multi-process Advanced Encryption Standard (AES)

Unfortunately I did not make my "before the weekend" target as it took me a couple of days to track down the very nasty bug I had in my decryption routine. All signs were pointing in a completely different direction from where the bug was. It looked like a timing/sync problem as with some ...
by Magialisk
25 Nov 2013 01:51
Forum: DOS Batch Forum
Topic: Help with this code to run on multiprocesses
Replies: 27
Views: 21356

Re: Help with this code to run on multiprocesses

That sweeping ray animation you linked to is pretty neat. I see now what you're trying to do, and I downloaded and ran both your code and Antonio's. I do agree with Antonio, if you want to parallelize this the right way would be interleaving lines. If you think of it like a GPU framebuffer, the chil...
by Magialisk
23 Nov 2013 17:27
Forum: DOS Batch Forum
Topic: Help with this code to run on multiprocesses
Replies: 27
Views: 21356

Re: Raytracing-Raycasting multiprocess

einstein perhaps I can help, since I'm the one that got Antonio all spun up in that other thread Anyone who is going to attempt to help you is going to need to understand your problem. Example: What is raytracing? Do you have a good source of information about what you're doing and why? What sources...
by Magialisk
21 Nov 2013 01:22
Forum: DOS Batch Forum
Topic: Multi-process Advanced Encryption Standard (AES)
Replies: 51
Views: 50365

Re: Multi-process Advanced Encryption Standard (AES)

Boy I wish I would have gone back a page and looked at Antonio's updated code when he posted it. It sure could have saved me a lot of time debugging my new pipes . The good news is I've converted my code to use pipe files in a strikingly similar way to how you did. Since mine was already in two batc...
by Magialisk
20 Nov 2013 02:26
Forum: DOS Batch Forum
Topic: Multi-process Advanced Encryption Standard (AES)
Replies: 51
Views: 50365

Re: Multi-process Advanced Encryption Standard (AES)

The key is an input to the script, just as with any encryption program. As you say it can never be stored in the script itself, that would defeat the purpose. When calling the AES program you give it a filename to work on, and a key to use. If you give it the wrong key it still runs perfectly fine, ...
by Magialisk
19 Nov 2013 15:52
Forum: DOS Batch Forum
Topic: Multi-process Advanced Encryption Standard (AES)
Replies: 51
Views: 50365

Re: Multi-process Advanced Encryption Standard (AES)

Antonio your timing couldn't be better. Yesterday I had some free time to work on my program and I made number of tweaks to improve performance. I haven't gotten to upload the modified version yet, maybe in a day or two. My main focus yesterday was on minimizing the size of the CMD environment, whic...
by Magialisk
14 Nov 2013 01:44
Forum: DOS Batch Forum
Topic: Run exe if "model number"
Replies: 12
Views: 7319

Re: Run exe if "model number"

Change it to IF "%model%"=="Latitude E6500" (echo ---Run Executable) ELSE (echo ---Don't Run Executable)

You need the quotes to handle the space, and you need them on both sides to maintain the equality.
by Magialisk
13 Nov 2013 16:12
Forum: DOS Batch Forum
Topic: Multi-process Advanced Encryption Standard (AES)
Replies: 51
Views: 50365

Re: Multi-process Advanced Encryption Standard (AES)

Hi Magialisk! I read your plea for help on how to stop a for /l loop in its tracks. It is possible, but at the expense of starting a subshell. Here's a trivial example: I just realized that I never stopped to thank you for this, so THANK YOU! I've been a bit tied up the last couple days so haven't ...
by Magialisk
13 Nov 2013 16:04
Forum: DOS Batch Forum
Topic: Multi-process Advanced Encryption Standard (AES)
Replies: 51
Views: 50365

Re: Multi-process Advanced Encryption Standard (AES)

Hey there's absolutely nothing to be sorry about, I'm just glad you figured it out You had me wondering if somehow I'd posted bad values in an earlier version of code, but I couldn't figure out how that would be possible... It looks like you're really coming along well on your rewrite of the algorit...
by Magialisk
13 Nov 2013 02:42
Forum: DOS Batch Forum
Topic: Multi-process Advanced Encryption Standard (AES)
Replies: 51
Views: 50365

Re: Multi-process Advanced Encryption Standard (AES)

Aacini where are you pulling my constants from? I just checked my code and they seem to agree with your results. For example here is the first part of my G3 matrix: set /a G3[0]=0x00, G3[1]=0x03, G3[2]=0x06, G3[3]=0x05, G3[4]=0x0C, G3[5]=0x0F, G3[6]=0x0A, G3[7]=0x09, G3[8]=0x18, G3[9]=0x1B, G3[10]=0...
by Magialisk
12 Nov 2013 02:42
Forum: DOS Batch Forum
Topic: Hello! I want to steal the credit for a Snake game!
Replies: 11
Views: 8668

Re: snake

Oh boy that gave me a good laugh (sorry Dave ). I couldn't quite visualize what the first part of this guy's code was supposed to be doing, other than the part that said "SNAKE - By xxxxxx". "Oh cool maybe this guy built a new take on the snake game", I was thinking... Skipping d...
by Magialisk
11 Nov 2013 13:24
Forum: DOS Batch Forum
Topic: Multi-process Advanced Encryption Standard (AES)
Replies: 51
Views: 50365

Re: Multi-process Advanced Encryption Standard (AES)

Antonio, I found a bug that is causing your code to generate improper values. In "round 0" (before you start the actual encryption rounds) you need to XOR the input key with the input data. I used your built-in trace routines and compared to my built-in debug routines and I can attest that...
by Magialisk
11 Nov 2013 11:48
Forum: DOS Batch Forum
Topic: Multi-process Advanced Encryption Standard (AES)
Replies: 51
Views: 50365

Re: Multi-process Advanced Encryption Standard (AES)

Antonio, I ran some tests with your code and it sure points out how inefficient mine is, particularly running as only 1 process. Unfortunately I don't have my latest code with me at work, as I was tinkering this weekend and forgot to grab it out the way out this morning, but what I have here is good...
by Magialisk
11 Nov 2013 10:13
Forum: DOS Batch Forum
Topic: Multi-process Advanced Encryption Standard (AES)
Replies: 51
Views: 50365

Re: Multi-process Advanced Encryption Standard (AES)

But i don't know why . An expert is required! Ok, that's simple. There exists a two lines rule inside of brackets when using labels. SO:Unexpected “The system cannot find the drive specified.” in batch file Einstein and Jeb thank you very much for tracking down this problem. You'll see that I'm no ...
by Magialisk
11 Nov 2013 10:09
Forum: DOS Batch Forum
Topic: Multi-process Advanced Encryption Standard (AES)
Replies: 51
Views: 50365

Re: Multi-process Advanced Encryption Standard (AES)

Antonio you've touched on a lot of key points in your post above, many of them I've wrestled with myself in the construction of this batch. First your questions about making the code shorter, removing the constants, using algorithms to create them, etc. I actually addressed that in the original stri...