cryptology
Results 1 to 8 of 8

Thread: cryptology

  1. #1
    Member
    Join Date
    Jun 2003
    Posts
    86

    cryptology

    im a newbie... i know that so just answer my question
    Can anyone show me how to create a very simple encryption program in C++. i just want to know how it works... im not trying to hide anything on my computer
    You laugh because im different, i laugh because your all the same.

  2. #2
    0_o Mastermind keezel's Avatar
    Join Date
    Jun 2003
    Posts
    1,024
    um...no. The fact that you seem to be really rude won't help you any either. Diddn't you just post something like this a week ago and get shot down? (I know that this is your first post from this name, but I remember something really similar to this) I'll go see if I can find it.

  3. #3
    Member
    Join Date
    Jun 2003
    Posts
    58

    Talking

    First Off: Hi, welcome.....
    Second: I don't think I'm qualified enough to completely answer your question, but...
    don't you think it would be much better if you actually learn how to program C++?
    If you just want an encryption program, theres a couple of good downloadable ones.

    Good luck!

    P.S.:
    This is me assuming that you don't know C++. If you do.... well then, just think a little about how you would best disguise a document and you can probably make your own encryptor... without help
    \"I ONLY DRINK THE BLOOD OF MY ENEMIES....and maybe a strawberry yoohoo....and a...Pina Co-la-da!...
    If you like pina coladas....ugh!, gettin\' caught in the rain....ugh!\"
    -Sarge

  4. #4
    Banned
    Join Date
    Mar 2002
    Posts
    594
    There was a post recently about this...

    http://www.antionline.com/showthread...hreadid=244929

    I, as well as other members, posted sample encryption codes in that thread so enjoy!

    Plus do a search before posting...

    = Cheers, jag291 =

  5. #5
    AntiOnline Senior Member souleman's Avatar
    Join Date
    Oct 2001
    Location
    Flint, MI
    Posts
    2,884
    you want a really simple program in c++?

    create an array of characters. create a second array of characters thats different. read your input. Find the letter in the first array. replace it with the coresponding character in the second array. output new character.

    Very simple substitution cipher.
    \"Ignorance is bliss....
    but only for your enemy\"
    -- souleman

  6. #6
    Banned
    Join Date
    Jun 2003
    Posts
    10
    hi friend,

    the simplest encryp/decrypt language independent algo. is as follows,

    1. generate a random no., remember this no. always as it`ll be used as key for encrypt/decryption of message.

    2. read char by char of file and add this key to ascii value, finally u`ll get encrypted file.

    3.to decrypt, again read char by char, and simple subtract this key value from the ascii value of char to get original char.

    4.keep the key secured.

    i hope this is ok with u.

    "kNoWlEdGe Is PoWeR"

  7. #7
    Member
    Join Date
    Jun 2003
    Posts
    86
    those are all good answers, but is there any easy way to encrypt files that arnt of ASCII value?
    You laugh because im different, i laugh because your all the same.

  8. #8
    Senior Member
    Join Date
    Feb 2003
    Posts
    109
    thats the beautiful thing about ASCII. Each ascii code ranges from 0 to 255 and takes up just one byte! So you can encrypt binary with the same function. You just have to convert all the bytes to int first and put them in a char array.
    $person!=$kiddie or die(\"Alas, die you hotmail hacker!!\");
    SecureVision

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •