Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How secure is XOR encryption?

by andreychek (Parson)
on Apr 24, 2002 at 18:29 UTC ( #161715=note: print w/ replies, xml ) Need Help??


in reply to How secure is XOR encryption?

I have to agree with some of the others who mentioned XOR can often be broken fairly quickly, although I'm not an expert with this. However, there are some other simple ways you may be able to handle encryption, that would work well with the Company X VB coders.

I'm not sure if you're looking to encrypt your data only for the transfer over the wire, or if you're also looking to keep it encrypted while it's being stored.

If you only want encryption over the wire, you may definitely want to consider using SSH in some form. You could either directly call scp from within a Perl script, or you could do something similar with the Net::SSH or Net::SSH::Perl modules.

If you need to encrypt this data while it's sitting in storage somewhere, consider using PGP. There are plenty of Perl libraries for this, including Crypt::OpenPGP, Crypt::PGPSimple, and some others.

Since PGP is fairly widely used, there are language bindings for it in other languages. A ran across SPGP, which claims to be a Simple PGP DLL, which can be used by VB. Thats just one example though, there are bound to be other implementations.

Good luck!
-Eric


Comment on Re: How secure is XOR encryption?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://161715]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2014-09-02 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (20 votes), past polls