I suggest looking at mcrypt. There is a PHP module, and you could either call out from R to the mcrypt program or use libmcrypt and C calls. It supports AES, and other standard things.
There's no real saving of effort in using weaker ciphers, and you really don't want to be implementing the processing yourself. -thomas On Thu, Jan 10, 2013 at 6:59 AM, Ramiro Barrantes < ram...@precisionbioassay.com> wrote: > Hello, > > I am working on a web system (php) that uses R in the backend, and we need > some basic fast encryption/decryption for the underlying mysql database > that can be used by both R AND php. It does not need to be > top-of-the-line, but just provide some basic level of fast > encryption/decryption. > > Any suggestions? > > Thank you, > > Ramiro > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Thomas Lumley Professor of Biostatistics University of Auckland [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.