|
-
Jan 16th, 2004, 06:46 PM
#41
Thread Starter
Fanatic Member
okay I get it now
k1 >> 3
is actually
k1 /( 2^3)
and
1 << 7
is
1 * 2 ^ 7
thank you for helping me understand that
now I have another issue
for some reason vb doesn't have XOR as a syntax?
even 10 XOR 10 the XOR is giving me an error?
is there any way to create an XOR like function?
thanx.
-
Jan 16th, 2004, 07:37 PM
#42
it DOES have Xor...
post the code where your using it
I'm gonna be gone for couple of hours, cuz i'm gonna format my computer and re-install windows and everything else. I'll check in now and then (between installs).
-
Jan 16th, 2004, 09:12 PM
#43
Thread Starter
Fanatic Member
hmm
some how I don't think it'll be as simple as this
VB Code:
Private Sub cmdTest1_Click()
Dim BitSet1 As BitVector
Dim BitSet As New BitVector
Dim HashArray() As String
Dim ac As String
Dim ParsedNumArray() As String
Dim i1, jtemp, j1 As Integer
BitSet.NumElements = 64
HashArray() = Split("LHKf24(),..FWSqw1,783vcSWr,NSW%FGS3,S834VS$!", ",")
ParsedNumArray() = Split("58#54#58#42#50#", "#")
For i1 = 0 To 4
Set BitSet1 = BitShift(HashArray(i1))
j1 = Val(ParsedNumArray(i1))
For l1 = 0 To j1
Set BitSet1 = BitFlag(BitSet1)
Next
For x = 0 To 63
BitSet.SetBit (CLng(x)) Xor BitSet1.GetBit(CLng(x))
Next
Next i1
ac = Characterize(BitSet, 8)
my guess is I screwed up the Xor?
Last edited by TokersBall_CDXX; Jan 16th, 2004 at 09:16 PM.
-
Jan 20th, 2004, 05:47 PM
#44
Thread Starter
Fanatic Member
-
Jan 20th, 2004, 06:37 PM
#45
-
Jan 21st, 2004, 10:13 AM
#46
Thread Starter
Fanatic Member
well
string ac only ends up containing 2 characters, the first character is a null character and the second is an extended character.
it's not the result I was looking for.
-
Jan 26th, 2004, 05:41 PM
#47
Thread Starter
Fanatic Member
-
Feb 1st, 2004, 11:34 AM
#48
Thread Starter
Fanatic Member
-
Feb 10th, 2004, 01:35 PM
#49
Thread Starter
Fanatic Member
*sigh*
hmm?
-
Feb 10th, 2004, 03:49 PM
#50
Banned
-
Feb 12th, 2004, 04:20 PM
#51
Thread Starter
Fanatic Member
my intent isn't
to use other encryption algorythoms, rather port this one.. I am not going to argue with a baiter. is it against the rules to bump? or are all posts required to drop dead when certain forum readers get bored of reading it?
move along
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|