[R] Help with decrypting
bob at rud.is
Tue Nov 8 02:29:23 CET 2016
might be of assistance.
If not, drop a note back to the list as it'll be trivial to expand on
that to give you an R alternative to Perl.
On Mon, Nov 7, 2016 at 5:47 PM, MacQueen, Don <macqueen1 at llnl.gov> wrote:
> I have a file containing encrypted contents. The contents can be decrypted
> using perl, like this:
> open (FILEHANDLE, "/path/to/file")
> chomp ($ciphertext = <FILEHANDLE>);
> use Crypt::CBC;
> $cipher = Crypt::CBC->new( -key => 'my secret key',
> -cipher => 'Blowfish'
> $plaintext = $cipher->decrypt($ciphertext);
> (See http://search.cpan.org/~lds/Crypt-CBC-2.33/CBC.pm)
> M goal is to have the value of $plaintext in an R object, so, is there an
> R equivalent to this decrypt() perl function?
> I've found R packages
> that appear to have potential, but I don't understand this business well
> enough to figure out how to use them, if indeed they can be used, for
> this. Help would be much appreciated.
> Don MacQueen
> Lawrence Livermore National Laboratory
> 7000 East Ave., L-627
> Livermore, CA 94550
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help