Thanks, David.
It does read without error using readBin. And using file.info as you
suggest seem to be a step in the right direction (the length of foo agrees
with 'wc -l' on the file). I just get different errors on subsequent
attempts to use it.
(I should have mentioned in the beginning, whatev
en
> Lawrence Livermore National Laboratory
> 7000 East Ave., L-627
> Livermore, CA 94550
> 925-423-1062
>
>
> From: Marc Schwartz mailto:marc_schwa...@me.com>>
> Date: Monday, November 7, 2016 at 3:30 PM
> To: dh m mailto:macque...@llnl.gov>>
> Cc: R-help m
> On Nov 9, 2016, at 10:35 AM, MacQueen, Don wrote:
>
> Bob,
>
> Thanks for responding. I've tried the functions in bcrypt, and get, for
> example,
>
>> infl <- 'path.to.the.encrypted.file'
>> junk <- 'the.password'
>> foo <- readLines(infl)
> Warning message:
> In readLines(infl) :
> incompl
Bob,
Thanks for responding. I've tried the functions in bcrypt, and get, for
example,
> infl <- 'path.to.the.encrypted.file'
> junk <- 'the.password'
> foo <- readLines(infl)
Warning message:
In readLines(infl) :
incomplete final line found on 'path.to.the.encrypted.file'
> tmp <- checkpw(junk,
.org>>
Subject: Re: [R] Help with decrypting
On Nov 7, 2016, at 4:47 PM, MacQueen, Don
mailto:macque...@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
Perhaps https://cran.r-project.org/web/packages/bcrypt/index.html
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 wrote:
> I have a file containing encrypted con
> On Nov 7, 2016, at 4:47 PM, MacQueen, Don wrote:
>
> I have a file containing encrypted contents. The contents can be decrypted
> using perl, like this:
>
> open (FILEHANDLE, "/path/to/file")
> chomp ($ciphertext = );
>
>
> use Crypt::CBC;
> $cipher = Crypt::CBC->new( -key=> 'my secret
7 matches
Mail list logo