Apache uses OpenSSL to implement the transport encryption for HTTP
connections. You can find out more at http://www.openssl.org
This isn't necessarily how you would want to encrypt things on disk, however.
Encrypting a regular file or db file is not really a typical public key
encryption task -- typically this is done by using a block cipher like
Blowfish and a single shared secret. Information is available at:
http://www.counterpane.com/blowfish.html, and there are perl modules on CPAN
as Crypt::Blowfish.
Hope this helps.
> When apache is serving a ssl connection, I assume that everything
> sent back and forth between the server and the client is encrypted.
> I want an mod_perl script to encrypt/decrypt credit card numbers
> obtained over the ssl connection for storage in a db on the server.
> Is there any access to the same routines that apache is using for the
> encryption or do I have to use some other module. If I have to use
> another module, what would be a good choice?
>
> Thanks,
> Tim
>
-------------------------------------------------------------------------------
Mark Madsen EMAIL: [EMAIL PROTECTED]
Internap Network Services OFFICE: 206.441.8800
601 Union Street, Suite 1000 FAX: 206.264.1833
Seattle, WA 98101 PAGER: 888.464.6381
* The contents of this message are proprietary and confidential *