Does any know of a Public Key encryption algorithm that is relativly easy to use? I am encrypting xml file into a database and I would like to use keys to control access.
Eugene Kuleshov Usually Public Key encryption algorithms (especially ciphers) not intended to be used to encrypt big abount of data. Their goal to manage small pieces of secure information (i.e. secret keys for symmetric algorithms like DES or Blowfish). In short, big amount of data encrypted by asymmetric cipher like RSA may became insecure.
Another reason why PKI-based ciphers should not be used to encrypt data is that they are much slower then symmetric ciphers (ECC may make situation better but it still not good enough).