Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: How secure is XOR encryption?

by andreychek (Parson)
on Apr 24, 2002 at 18:29 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-20 00:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found