Page 4 of 8 « First<23456>Last »
Topic Options
#123732 - 2004-07-27 01:19 AM Re: KiXgolf: Vigenere Cipher - Private coding
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
507 was still quite powerfull, straight forward code but this is already doing lot of unneeded job.

saving 2 strokes

KiXGolf Score = 505

[edit]

was too fast there.
after reviewing my code, it had a bug that didn't show up.
fixed and the score is 506


[edit]
KiXGolf Score = 501


Edited by Lonkero (2004-07-27 01:30 AM)
_________________________
!

download KiXnet

Top
#123733 - 2004-07-27 02:06 AM Re: KiXgolf: Vigenere Cipher - Private coding
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
celebrating this new awesome milestone with totally new reply:
Code:

KiXtart
KiXtart Version = 4.22
KiXforms Version =
KiXGolf Script = kixgolf_vigenere.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III Mobile
Speed = 933 MHz
Memory = 256 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: Vigenere Cipher
Valid Cipher Ops = 10 (111%)
Processing Start = 2004/07/27 02:53:55.193
Processing End = 2004/07/27 02:53:55.343
Duration = 0000/00/00 00:00:00.150
KiXGolf Score = 500

Thank you for participating in KiXtart Golf!
press any key to close

_________________________
!

download KiXnet

Top
#123734 - 2004-07-27 02:11 AM Re: KiXgolf: Vigenere Cipher - Private coding
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
Still not sure if i'm doing this offset thing right (seems a little pointless).

Quote:


KiXtart
KiXtart Version = 4.22
KiXforms Version =
KiXGolf Script = kixgolf_vigenere.kix

Computer
OS = Windows XP Professional
CPU = Intel(R) Xeon(TM) CPU 2.80GHz
Speed = 2790 MHz
Memory = 1024 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: Vigenere Cipher
Valid Cipher Ops = 10 (111%)
Processing Start = 2004/07/26 19:57:45.737
Processing End = 2004/07/26 19:57:45.769
Duration = 0000/00/00 00:00:00.032
KiXGolf Score = 399



_________________________
Eric

Top
#123735 - 2004-07-27 02:15 AM Re: KiXgolf: Vigenere Cipher - Private coding
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
why don't you tell how you do it and I can say do you do it wrong

btw, I'm having a code with KiXGolf Score = 498
_________________________
!

download KiXnet

Top
#123736 - 2004-07-27 02:24 AM Re: KiXgolf: Vigenere Cipher - Private coding
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
encrypting - substract offest from final char pos
decrypting - add offset to final char pos

and the offset is based on the word in the 'sentence'. Anyway, i haven't even started condensing my code yet, which makes me think i'm missing something.

If sounds like i'm doing correctly, what's your encrypted word for the first test? Should be the same as mine right?

-Eric
_________________________
Eric

Top
#123737 - 2004-07-27 02:39 AM Re: KiXgolf: Vigenere Cipher - Private coding
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, when encrypting, I add the offset and decrypting=remove it.

can't say for the first one but:
The Vigenere cipher basic construction is a combination of a Caesar shift combined with a keyword

comes out as:
gZD QYyXP5ae WJhdVA F3dks FillEnZ6fl5j dr x KLbh2mGqjkB XD i EJewZI eIbpH NqscBrRF 88yT i Globl55
_________________________
!

download KiXnet

Top
#123738 - 2004-07-27 02:55 AM Re: KiXgolf: Vigenere Cipher - Private coding
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
Just curious, what kind of scoring engine is it if it does not tell if done correctly? Should the test code confirm the validity of everyones code?
Top
#123739 - 2004-07-27 03:03 AM Re: KiXgolf: Vigenere Cipher - Private coding
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
the scoring engine has had it's limitations in all tournaments.
in this one, I bet jens lacked the time to create a full tester.
as if he would have, the bugs found in the rules probably would have not been there.
_________________________
!

download KiXnet

Top
#123740 - 2004-07-27 02:13 PM Re: KiXgolf: Vigenere Cipher - Private coding
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
removed two more strokes and got 100% but checked against the above line and didn't match...
_________________________
!

download KiXnet

Top
#123741 - 2004-07-27 02:26 PM Re: KiXgolf: Vigenere Cipher - Private coding
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
Im really sad that I don't see hoby nor richie here
now it seems like I'm doing my own competition in removing each stroke as slow as possible.

KiXGolf Score = 497

KiXGolf Score = 494

btw, those who want better testing, you can calculate 1 or 2 of the sentences and add them in the encrypted part of the jens' array (which is empty now)
I didn't do that, I had my own tests (like "manual" table matching). but to do like I did, you would already need to have some ready code


Edited by Lonkero (2004-07-27 02:38 PM)
_________________________
!

download KiXnet

Top
#123742 - 2004-07-27 02:38 PM Re: KiXgolf: Vigenere Cipher - Private coding
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
http://www.kixtart.org/ubbthreads/showthreaded.php?&Number=122793
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#123743 - 2004-07-27 02:53 PM Re: KiXgolf: Vigenere Cipher - Private coding
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
and maciep...
please could you tell if you get some information is your code working correctly or not?
the above score of yours is more than way ahead of me, so some info would be awesome.
_________________________
!

download KiXnet

Top
#123744 - 2004-07-27 02:53 PM Re: KiXgolf: Vigenere Cipher - Private coding
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
Well i'm not getting the same results as your post above, but i don't think it's the offset. It might be

Quote:

The lower-case cipher block will only be used if lower-case characters are present in the plain, crypto, or cipher text. The numeric and upper-case block will always be used.





Haven't take this into cosideration yet. Anyway, won't be able to play with this until after work tonight.



_________________________
Eric

Top
#123745 - 2004-07-27 03:07 PM Re: KiXgolf: Vigenere Cipher - Private coding
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
back to the special chars.
so, sentence separators:
. ! ?
and word separators:
space, tab, ...

?
I have included some but then thought, are they really needed.
after all, not all whitespace is word-separator, right?

removed tab as a word separator:
KiXGolf Score = 490
KiXGolf Score = 488
KiXGolf Score = 481
KiXGolf Score = 478
KiXGolf Score = 468


Edited by Lonkero (2004-07-27 04:16 PM)
_________________________
!

download KiXnet

Top
#123746 - 2004-07-27 04:43 PM Re: KiXgolf: Vigenere Cipher - Private coding
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
my eyes start to hurt...
btw, I improved my vigenere checker as instructed above and added a check (if cipher, check that both encryption and decryption match the manually entered values).
I got many versions that would have passed the original but failed my check.

anyways:
KiXtart Golf Score
Tournament = KiXtart Golf: Vigenere Cipher
Valid Cipher Ops = 10 (111%)
Processing Start = 2004/07/27 17:29:09.184
Processing End = 2004/07/27 17:29:09.325
Duration = 0000/00/00 00:00:00.140
KiXGolf Score = 467

Thank you for participating in KiXtart Golf!

KiXGolf Score = 465


Edited by Lonkero (2004-07-27 04:46 PM)
_________________________
!

download KiXnet

Top
#123747 - 2004-07-27 05:11 PM Re: KiXgolf: Vigenere Cipher - Private coding
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hehee...
ppl will have hard time trying to improve this cryptic crypter

KiXGolf Score = 454

KiXGolf Score = 449


Edited by Lonkero (2004-07-27 05:13 PM)
_________________________
!

download KiXnet

Top
#123748 - 2004-07-27 05:16 PM Re: KiXgolf: Vigenere Cipher - Private coding
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
Well i think my golf score will be going up when i get a chance to get back to this. I definitely need to re-evaluate my white space approach. As of right now, two spaces in a row will increase the offset. Luckily it's only tuesday.



_________________________
Eric

Top
#123749 - 2004-07-27 07:12 PM Re: KiXgolf: Vigenere Cipher - Private coding
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
damn it, i keep finding more bugs in kixtart....
Top
#123750 - 2004-07-27 07:24 PM Re: KiXgolf: Vigenere Cipher - Private coding
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
That is one of the benefits of KixGolf. If you find a bug we should document and discuss it then pass it along to Ruud. We have found several kixtart nuances in prior Golf outings.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#123751 - 2004-07-27 09:31 PM Re: KiXgolf: Vigenere Cipher - Private coding
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
maciep, I don't think we need to differentiate between multiple whitespaces.
the rules don't say anything about that and in formal language, there is no such thing as double space.
I wish jens would come back and tell what whitespace we need to take care off.
currently, only one that increases the word offset imho is space.
_________________________
!

download KiXnet

Top
Page 4 of 8 « First<23456>Last »


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 489 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.082 seconds in which 0.029 seconds were spent on a total of 14 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org