How do you encrypt parts of a file separately using pgp?
        Posted  
        
            by Collin Anderson
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Collin Anderson
        
        
        
        Published on 2010-03-23T16:59:27Z
        Indexed on 
            2010/03/23
            17:03 UTC
        
        
        Read the original article
        Hit count: 373
        
pgp
I would like to encrypt credit card numbers on a web server as they come in using PGP. I would then like to be able to export all of the credit card numbers and other information in one file that can be easily decrypted using standard PGP software.
Is it possible to take the encrypted credit card numbers and join them with other encrypted data and be able to decrypt the entire file?
Basically is this true? D(E(x) + E(y)) = x + y
Where '+' means string concatenation.
© Stack Overflow or respective owner