encryption (Sdk)

encryption // Sdk

1  |  


Apr 3, 2002, 7:25pm
aight, im wondering if anyone knows any sites where i can learn about
encryption on VB. thanx

strike rapier

Apr 4, 2002, 3:24pm

Gawd i love that site :)

[View Quote]


Apr 4, 2002, 6:34pm
but they dont have tutorials there, just source code
[View Quote]


Apr 4, 2002, 9:03pm
[View Quote] Don't you think it is time to LEARN programming?? Sheesh ......



Apr 4, 2002, 9:14pm
thats what im tring to do! thats why i need tutorials to explain
everything!! Sheesh......
[View Quote]


Apr 4, 2002, 9:27pm
soory, just that i dont like people repling things like that back to
offence intended
[View Quote]


Apr 4, 2002, 11:49pm
just use the comments in the code to help you out. Then screw around with it
until you added your own edits and modifications into it. It's the best way
to learn :)

[View Quote]


Apr 5, 2002, 3:38pm
FYI the fastest way to learn is from others source code.... been doing it for over 25 years..... NEVER read a book on
programming ....EVER...... once you learn to READ others code you can then create some of your own...:) Start with simple
programs and learn how they work..... "hello world" :) load them...see what they do...then change the source and see
what happens when you run it again....:)

Leo :)

[View Quote]


Apr 5, 2002, 4:00pm
lol, thing is i forgot bout the fact that there is those lines that explain
the code in PSC :) u know those lines begining with / . well thanx anyway,
to everyone.

P.S sorry for being rude to u binary... just that i get pissed off easily
[View Quote]


Apr 5, 2002, 4:03pm
no big deal everyone has a bad year now and then.....:)

[View Quote]

strike rapier

Apr 5, 2002, 5:44pm
A nice idea is to get a simple book which explains some of the basic
functions such as the Do and For loops, and If and Then statements Etc....

And then the way i learned was to go straight in and make a program. In my
case, my FireStorm Systems bot and use as many of thea features you can find
as possable. And use the web and find code etc and use the help of others
and that way you can adapt what you learn from looking at others work.

Its done me wonders.

- Mark
[View Quote]


Apr 5, 2002, 6:48pm
Problem today is, that you rarely find source that deals
with the problem you want to solve. Most source deals with
windows and GUI, and for a newbie it isn't easy to filter
the 10% of the code, that really does something useful.

[View Quote]


Jun 25, 2002, 12:15am
bleh. ive been programming mostly c++, but for anyone doing that that wants
some basic encryption, sorry for the uselessness of this, im tired, but
here's the basis of an XOR encryption. because im not gunna put that much
effort into it, this will only work on strings of the same length
char* XOR(char* buffer, char* key)
char* m_return;
for(x = 0; x <= strlen(buffer); x++)
m_return[x] = buffer[x] ^ key[x];
return m_return;

the way this works is XOR is a bitwise operation where things that are the
same return a 0 (false) otherwise a 1 (true) so if you had to name it a
function, you might call it IsDifferent().

this way....
11110000 ^ 00001111 = 11111111
10101010 ^ 01010101 = 11111111
11110000 ^ 10101010 = 01011010

fairly easy to crack though:
11110000 ^ 00001111 ^ 11110000 = 00001111

so, be careful not to use this on things where the user will know what the
buffer is equal to, like chat...

and a demonstration on how this works for strings is
This is the string that we'll encrypt
^ ababababababababababababa

is T^a, h^b, i^a, etc....

if you wanted to have varied length keys and buffers, the finished
encryption would end up looking like this:

This is the string that we'll encrypt.

where you just repeat the key to match the number of chars in the buffer.

ok, im sorry, i just had to post sometime or id explode from being off of
the NGs for so long. enjoy, if it's any use to you whatsoever. and i know
this was originally about VB :P


[View Quote]

1  | is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn