Perl for data encryption

Discussion in 'Perl Misc' started by hitachi4@rediffmail.com, Feb 5, 2005.

  1. Guest

    Hi all
    I am working on Sybase. There are several databases for which I
    want to encrypt the data with keeping the data integrity.
    Here I am using a approch to have a mapping file which will contain the
    Origianl Value and masked Value. So each time a select a table to mask
    the value first I am looking into this mapping file for the presence of
    that value. So if it is there I am directly picking of that encrypted
    value otherwise generating a new value and putting that value into the
    mapping file.
    I am using Perl for the above. But as the data size is huge, it
    takes too much time to complete the encryption. Can anybody suggest any
    performance improvement tips for the same.


    Thanking in advance

    -Hitachi.
     
    , Feb 5, 2005
    #1
    1. Advertising

  2. wrote:

    > Hi all
    > I am working on Sybase. There are several databases for which I
    > want to encrypt the data with keeping the data integrity.
    > Here I am using a approch to have a mapping file which will contain the
    > Origianl Value and masked Value. So each time a select a table to mask
    > the value first I am looking into this mapping file for the presence of
    > that value. So if it is there I am directly picking of that encrypted
    > value otherwise generating a new value and putting that value into the
    > mapping file.
    > I am using Perl for the above. But as the data size is huge, it
    > takes too much time to complete the encryption. Can anybody suggest any
    > performance improvement tips for the same.
    >
    >
    > Thanking in advance
    >
    > -Hitachi.


    Maybe a symmetric cipher like RC4
    http://search.cpan.org/~dbrobins/Net-SSH-Perl-1.26/lib/Net/SSH/Perl/Cipher/RC4.pm

    gtoomey
     
    Gregory Toomey, Feb 5, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Fernando Barsoba

    Data type problem in encryption algorithm

    Fernando Barsoba, Nov 25, 2005, in forum: C Programming
    Replies:
    11
    Views:
    614
    Flash Gordon
    Nov 26, 2005
  2. WJ

    Data encryption ?

    WJ, Apr 9, 2004, in forum: ASP .Net Security
    Replies:
    4
    Views:
    187
  3. Tom at SDI

    Data Security, Encryption

    Tom at SDI, Jul 14, 2005, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    115
    Tom at SDI
    Jul 14, 2005
  4. Jerry Maguire

    Microsoft .NET and perl 3DES encryption

    Jerry Maguire, Jan 21, 2004, in forum: Perl Misc
    Replies:
    3
    Views:
    383
    Sisyphus
    Jan 24, 2004
  5. Mark

    Perl code encryption

    Mark, Mar 9, 2005, in forum: Perl Misc
    Replies:
    4
    Views:
    158
    Tad McClellan
    Mar 9, 2005
Loading...

Share This Page