On Tue, 11 Jun 2002, Ray wrote:

> looking for something like
> encrypt(str, protected_str)
> and
> decrypt (crypt_str, private_str)
> and probably a make_key_pair()
>
> its not a vital part of my current project, but i'm sure someone will get
> cracked into (again) and then there will be another wave of secerity scares.
> (which again will die when they find out it was something silly like the
> employee who they where firing at the end of the week was the 'hacker')
>
> also, i can't seem to find much documentation on using ssl/x509 with mysql,
> anyone know of any good sites for this information?

ENCRYPT/DERYPT are bad functions as they use some homemade algorithm.
Can't suggest using it. Use DES_ENCRYPT/DES_DECRYPT instead. And this is
the best what MySQL has at moment. These functions use 3DES symmetric
algorithm encryption, so this is maybe not what you search for. But there
is nothing else not counting MD5() hash function.

MySQL supports SSL and X509 but for client-server connections. Any
documentation you find describes related items.
If you can provide exact idea what you want and sponsor this project I can write
patch for MySQL adding new functions which support asymmetric encryption
as you asked. But currently they won't exist there.

  Tonu


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to