Perhaps, If is there a connection with mysql: library(RMySQL) #conn <- dbConnect(...) encStr <- dbGetQuery(conn, "SELECT AES_ENCRYPT('teste', 'password')") dbGetQuery(conn, sprintf("SELECT AES_DECRYPT('%s', 'password')", encStr))
On Fri, Mar 19, 2010 at 2:00 PM, Hadley Wickham <had...@rice.edu> wrote: > Hi all, > > Does any one know of any encryption/decryption algorithms in R? I'm > not looking for anything robust - I want some way of printing output > to the screen that the user can't read immediately, but can decrypt a > little later. The main thing I don't want to the user to see is a > number, so (e.g.) ROT13 isn't appropriate. > > Hadley > > -- > Assistant Professor / Dobelman Family Junior Chair > Department of Statistics / Rice University > http://had.co.nz/ > > ______________________________________________ > 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. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O ______________________________________________ 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.