File Encrypter / Decrypter

Discussion in 'Programming & Scripting' started by iM MAtT DiAz, Aug 8, 2009 with 15 replies and 447 views.

  1. iM MAtT DiAz

    iM MAtT DiAz Enthusiast

    Messages:
    159
    Ratings:
    6
    I really need to know how to make a file encrypter / decrypter.plz


    If any one has a source code for one that would be great.

    thanks
     
  2. A Roadkill Baby

    A Roadkill Baby Enthusiast

    Messages:
    218
    Ratings:
    30
    Haha, good luck with anyone here giving you one... They're all gonna be like "Liek no wai! You only want 1 of dose for illegul purpusez!!"
     
  3. OP
    iM MAtT DiAz

    iM MAtT DiAz Enthusiast

    Messages:
    159
    Ratings:
    6
  4. Th0ughts

    Th0ughts Newbie

    Messages:
    10
    Ratings:
    2
    Could you please explain why you want a File Encrypter. Even then, why on god's green earth would you want a file DECRYPTER?

    When you say file encrypter, I assume you want something to disguise a programs functions scan and runtime, yes? I can only see this to be used for illegal purposes. Either way, do you understand how these programs work?
     
  5. A Roadkill Baby

    A Roadkill Baby Enthusiast

    Messages:
    218
    Ratings:
    30
    Haha, I told you... Now go find a hacking website, it's not that hard...
     
  6. Th0ughts

    Th0ughts Newbie

    Messages:
    10
    Ratings:
    2
    If he can come up with a legitimate reason for this, I will help him out. Personally I can't think of one.

    I still don't know what he wants when he says "file decrypter." Completely lost me there. Most crypters use a stub to run the executable for you. My only guess would be that he wants a file to remove his own stub from his program, and produce the original .exe? That's quite a task and even then I don't see the reason in needing to do that (other than decrypting other people's programs, but that cannot be done automatically very easily).
     
  7. OP
    iM MAtT DiAz

    iM MAtT DiAz Enthusiast

    Messages:
    159
    Ratings:
    6
    Ok I have someone in my family that has unopropriate files on his computer but someone said they looked and there was no files of any sort and I know he encrypted the files so I want to show them how it can be done.
     
  8. A Roadkill Baby

    A Roadkill Baby Enthusiast

    Messages:
    218
    Ratings:
    30
    Encryptions don't make files invisible, just unreadable ( or for viruses undetected to anti-viruses.)... Now if you are on windows XP you can go to folder options, then there will be an option to show hidden files, so then do that and see, I don't know if it is possible on Vista, but I'm sure it is, I have only had Vista for about a week now so I haven't had much time to mess with things.

    If that doesn't work let me know there are other ways you can hide a file/folder.
     
  9. OP
    iM MAtT DiAz

    iM MAtT DiAz Enthusiast

    Messages:
    159
    Ratings:
    6
    Here is a code i found but idk how to use it. plz help
    Code:
    Sub  Encrypt(ByVal  inName As  String , ByVal  outName As  String )
    
    Try
    Dim  storage(4096) As  Byte  'create buffer
    Dim  totalBytesWritten As  Long  = 8 'Keeps track 
    of bytes written.
    
    Dim  packageSize As  Integer  'Specifies the number 
    of bytes written at one time.
    
    'Declare the file streams.
    Dim  fin As  New  FileStream(inName, FileMode.Open,
    FileAccess.Read)
    Dim  fout As  New  FileStream(outName, FileMode.OpenOrCreate, _
    FileAccess.Write)
    fout.SetLength(0)
    
    Dim  totalFileLength As  Long  = fin.Length 'Specifies the size 
    of the source file.
    
    'create the Crypto object
    Dim  des As  New  DESCryptoServiceProvider()
    
    Dim  crStream As  New  CryptoStream(fout, _
    des.CreateEncryptor(TheKey, Vector), _
    CryptoStreamMode.Write)
    
    
    'flow the streams
    While  totalBytesWritten < totalFileLength
    packageSize = fin.Read(storage, 0, 4096)
    crStream.Write(storage, 0, packageSize)
    totalBytesWritten = Convert.ToInt32(totalBytesWritten + 
    packageSize / des.BlockSize * des.BlockSize)
    
    
    End  While
    
    crStream.Close()
    
    
    Catch  e As  Exception
    MsgBox(e.Message)
    End  Try
    
    End  Sub
    
     
  10. A Roadkill Baby

    A Roadkill Baby Enthusiast

    Messages:
    218
    Ratings:
    30
    It looks like a cryptor's source code, which will not help you in any way with what you described you are using it for...
     
  11. Th0ughts

    Th0ughts Newbie

    Messages:
    10
    Ratings:
    2
    Just use microsoft private folder and you'll be fine... Most people aren't going to attempt to bypass that.
     
  12. Genetic Paradox

    Genetic Paradox Enthusiast

    Messages:
    422
    Ratings:
    60
    I've needed a source for a encryption sub for a while now. I'm trying to set up a pseudo FTP service.
     
  13. S1R34L

    S1R34L Enthusiast

    Messages:
    1,104
    Ratings:
    88
    I believe your looking for something like PGP (Pretty Good Privacy). It encrypts a file so that you need a password to open it...if you open it normally...it just comes up with a bunch of text in notepad that doesn't mean anything. You can find torrents for it anywhere... demonoid /cough
     
    • Like Like x 1
  14. SSM

    SSM Enthusiast

    Messages:
    437
    Ratings:
    122
    To easy to crack though, all though I cannot do it, I know some people who can crack that kind of crap. Your probably looking for something what encrypts the file to like a key you enter. Not sure though.
     
  15. Nothinbeter2do

    Nothinbeter2do Banned

    Messages:
    2,425
    Ratings:
    526
  16. lazyazzz12

    lazyazzz12 Enthusiast

    Messages:
    152
    Ratings:
    11
    Go Here Hack Forums they will not help you on this site ppl only mod so just go there
     

Share This Page