Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


Text prob filter_list
Author
Message
Text prob #1
Hey all!!!

When I encrypt my strings, I sometimes get this character ” which breaks the encrypted word in a half.

Is there a way to prevent it? I would love to protect my program Smile
Thanks!!!
Staff will never ever ask you for your personal information.
We know everything about you anyway.

Reply

RE: Text prob #2
I'm not sure if I understood it totally. Can you give an example?
What encryption are you using? You may need to modify it a little.
[Image: rytwG00.png]
Redcat Revolution!

Reply

RE: Text prob #3
I use RC4 encryption, forgot to mention it.

Well, when I encrypt some word, I sometimes get something like: Kě2K"k1

The " makes me unable to use it, because it breaks the string in half Smile

(Im using this function: rc4(" Kě2K"k1","pass")

Thanks for reply!
Staff will never ever ask you for your personal information.
We know everything about you anyway.

Reply

RE: Text prob #4
Oh, then you can simply use Chr(34) instead of that one " which is the same thing.

Code:
rc4(" Kě2K" & Chr(34) & "k1","pass")
[Image: rytwG00.png]
Redcat Revolution!

Reply

RE: Text prob #5
(01-12-2011, 07:47 PM)Coder-san Wrote: Oh, then you can simply use Chr(34) instead of that one " which is the same thing.

Code:
rc4(" Kě2K" & Chr(34) & "k1","pass")

ow awesome Smile thanks Smile

Where do you find these chr's?
Just got idea with them Biggrin
Thanks Smile
Staff will never ever ask you for your personal information.
We know everything about you anyway.

Reply

RE: Text prob #6
You can find out yourself by running a Loop. Smile

Code:
For i As Integer = 0 To 255
   TextBox1.Text &= i & "  -  " & Chr(i) & vbNewLine
Next
[Image: rytwG00.png]
Redcat Revolution!

Reply

RE: Text prob #7
awesome Smile

Thanks!!!
Staff will never ever ask you for your personal information.
We know everything about you anyway.

Reply







Users browsing this thread: 2 Guest(s)