Hi,
Maybe not being compiled with libcrypt ?
What is the output of "perl -V | grep --color -i crypt" and "ldd
/home/masayoshi/localperl/bin/perl" ?
Regards,
On Sat, May 25, 2024 at 4:00 PM Masayoshi Fujimoto
wrote:
> Hi.
> OpenBSD does not work crypt.
> Does it depends on OSes ?
> Do you know
On Sat, May 12, 2012 at 02:24:55PM +0200, Perforin wrote:
> Hi
Hello:
> I have a problem with my Crypt::CBC v2.30.
*snip*
> Link to my script -->
> http://download.adamas.ai/dlbase/Scripts/twofish_crypter.txt
You should inline your program in your mail message. That way
it's easy to read it and
Any luck on this?? I am facing the same issue..
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
From: "Chas. Owens" <[EMAIL PROTECTED]>
On Dec 19, 2007 5:59 PM, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
snip
Sorry. No idea. I didn't wrote that C# program because I don't know C#
well
enough. That's why I was interested in a perl solution, but unfortunately
it
is not possible in perl.
On Dec 20, 4:49 am, [EMAIL PROTECTED] (Octavian Rasnita) wrote:
> From: "Chas. Owens" <[EMAIL PROTECTED]>
>
>
>
>
>
> > On Dec 20, 2007 4:58 AM, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
> >> From: "Chas. Owens" <[EMAIL PROTECTED]>
>
> >> > On Dec 19, 2007 5:59 PM, Octavian Rasnita <[EMAIL PROTEC
From: "Chas. Owens" <[EMAIL PROTECTED]>
On Dec 20, 2007 4:58 AM, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
From: "Chas. Owens" <[EMAIL PROTECTED]>
> On Dec 19, 2007 5:59 PM, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
> snip
>> Sorry. No idea. I didn't wrote that C# program because I don't
On Dec 20, 2007 4:58 AM, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
> From: "Chas. Owens" <[EMAIL PROTECTED]>
>
>
> > On Dec 19, 2007 5:59 PM, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
> > snip
> >> Sorry. No idea. I didn't wrote that C# program because I don't know C#
> >> well
> >> enough. Tha
From: "Chas. Owens" <[EMAIL PROTECTED]>
On Dec 19, 2007 5:59 PM, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
snip
Sorry. No idea. I didn't wrote that C# program because I don't know C#
well
enough. That's why I was interested in a perl solution, but unfortunately
it
is not possible in perl.
On Dec 19, 2007 5:59 PM, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
snip
> Sorry. No idea. I didn't wrote that C# program because I don't know C# well
> enough. That's why I was interested in a perl solution, but unfortunately it
> is not possible in perl.
snip
It is possible. The person who wro
From: <[EMAIL PROTECTED]>
On Dec 9, 7:03 am, [EMAIL PROTECTED] (Octavian Rasnita) wrote:
>> I've seen a program made in C# that uses an SQLite database which is
>> crypted.
> I doubt that. SQLite does not (AFAIK) have an encrypted database
> engine. The only way that such a program could do
On Dec 9, 7:03 am, [EMAIL PROTECTED] (Octavian Rasnita) wrote:
> From: "David Filmer" <[EMAIL PROTECTED]>
>
>
>
>
>
> > On Dec 6, 10:47 am, [EMAIL PROTECTED] (Octavian Rasnita) wrote:
> >> I've seen a program made in C# that uses an SQLite database which is
> >> crypted.
>
> > I doubt that. SQLite
From: "Chas. Owens" <[EMAIL PROTECTED]>
On Dec 6, 2007 1:47 PM, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
Hi,
I've seen a program made in C# that uses an SQLite database which is
crypted.
Can we do the same thing with perl?
Some years ago I've seen only some comercial solution for doing thi
From: "David Filmer" <[EMAIL PROTECTED]>
On Dec 6, 10:47 am, [EMAIL PROTECTED] (Octavian Rasnita) wrote:
I've seen a program made in C# that uses an SQLite database which is
crypted.
I doubt that. SQLite does not (AFAIK) have an encrypted database
engine. The only way that such a program co
On Dec 6, 2007 1:47 PM, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've seen a program made in C# that uses an SQLite database which is
> crypted.
> Can we do the same thing with perl?
>
> Some years ago I've seen only some comercial solution for doing this, but
> now I've seen that free
On Dec 6, 10:47 am, [EMAIL PROTECTED] (Octavian Rasnita) wrote:
> I've seen a program made in C# that uses an SQLite database which is
> crypted.
I doubt that. SQLite does not (AFAIK) have an encrypted database
engine. The only way that such a program could do this is if the C#
program somehow a
- Original Message -
From: "JOHN FISHER" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, May 23, 2007 10:32 AM
Subject: Crypt::GCrypt error on new method
I am attempting to use gcrypt using a Perl interface
I have "perl -MCPAN -e 'install Crypt::GCrypt'" and installed it successfully.
I a
Thanks John and Chas!
> [EMAIL PROTECTED] wrote:
>> Hey folks,
>
> Hello,
>
>> I have been using crypt for a while. No problems until recently.
>>
>> Problem crypt does not return a hash that matches getpwnam(). I have
>> been
>> using crypt for a long time without any problems.
>>
>> Bellow is t
On 5/2/07, Chas Owens <[EMAIL PROTECTED]> wrote:
On 5/2/07, Chas Owens <[EMAIL PROTECTED]> wrote:
> On 5/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> snip
> > I have tested crypt() on debian, and redhat. Same problems. The has values
> > do not match each other.
> snip
>
> It looks like y
On 5/2/07, Chas Owens <[EMAIL PROTECTED]> wrote:
On 5/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
snip
> I have tested crypt() on debian, and redhat. Same problems. The has values
> do not match each other.
snip
It looks like your /etc/shadow file is not using crypt to store the
passwords
On 5/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
snip
I have tested crypt() on debian, and redhat. Same problems. The has values
do not match each other.
snip
It looks like your /etc/shadow file is not using crypt to store the
passwords on that system.
from man shadow
The password
[EMAIL PROTECTED] wrote:
> Hey folks,
Hello,
> I have been using crypt for a while. No problems until recently.
>
> Problem crypt does not return a hash that matches getpwnam(). I have been
> using crypt for a long time without any problems.
>
> Bellow is test script I have using for testing h
RICHARD FERNANDEZ wrote:
[...]
It decrypts my file successfully. But if I break up the arguments
like it says in the doco, like so:
my @gpg_command = ("/usr/bin/gpg", "--decrypt", $encrypted, ">",
$decrypted, "2> /dev/null");
AFAIK, you can't use "2> file" to do output redirection when
> I would suggest giving GnuPG::Interface a go because it
> handled calling out to 'gpg' most "correctly". Meaning it
> uses the status-fd, logger-fd options properly which is the
> preferred way to call gpg in an automated fashion.
>
> Good luck,
>
> http://danconia.org
>
Thank you! I will
RICHARD FERNANDEZ wrote:
> I re-wrote the decryption routine to use system instead of Crypt::GPG,
> and came across another puzzle:
>
> my @gpg_command = ("/usr/bin/gpg --decrypt $encrypted >
> $decrypted 2> /dev/null");
> system(@gpg_command) == 0 or warn "system @gpg_command failed:
I re-wrote the decryption routine to use system instead of Crypt::GPG,
and came across another puzzle:
my @gpg_command = ("/usr/bin/gpg --decrypt $encrypted >
$decrypted 2> /dev/null");
system(@gpg_command) == 0 or warn "system @gpg_command failed:
$!";
works. It decrypts my file
-Original Message-
From: John W. Krahn [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 06, 2006 8:04 PM
To: Perl Beginners
Subject: Re: Crypt::GPG produces an empty cleartext file
RICHARD FERNANDEZ wrote:
> Hi Folks,
Hello,
> I have a job that takes in an encrypted file and de
RICHARD FERNANDEZ wrote:
> Hi Folks,
Hello,
> I have a job that takes in an encrypted file and decrypts it using
> Crypt::GPG.
>
>
> for my $encrypted_file (@files) {
>
> open(CIPHERTXT, $encrypted_file) or croak "Can't open
> encrypted_file: $encrypted_file\n";
You should
-Original Message-
From: RICHARD FERNANDEZ [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 06, 2006 12:45 PM
To: beginners@perl.org
Subject: RE: Crypt::GPG produces an empty cleartext file
What version of Crypt:GPG are u using?
Derek Bellner Smith
Unix Systems Engineer
What version of Crypt:GPG are u using?
Derek Bellner Smith
Unix Systems Engineer
Cardinal Health Dublin, Ohio
614-757-5000 Main
614-757-8075 Direct
614-652-4336 Fax
[EMAIL PROTECTED]
Hi Derek,
Thanks for your response. I'm using:
Crypt::GPG version 1.42
Perl version 5.6.0
gpg version 1.0.6
--
-Original Message-
From: RICHARD FERNANDEZ [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 06, 2006 12:20 PM
To: beginners@perl.org
Subject: Crypt::GPG produces an empty cleartext file
Hi Folks,
I have a job that takes in an encrypted file and decrypts it using
Crypt::GPG.
for my $e
:[EMAIL PROTECTED]
Sent: Thursday, January 13, 2005 6:37 AM
To: Tham, Philip; beginners@perl.org
Subject: RE: Crypt SSLeay
Please bottom post
> I faced two problems:
>
> 1. The build assumes that cc is the default compiler in the system. I
> have gcc 2. I created a link from
: Wiggins d Anconia [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 12, 2005 1:00 PM
> To: Tham, Philip; beginners@perl.org
> Subject: Re: Crypt SSLeay
>
>
>
>
> > I did a build on the latest version of perl. However the library
> > Crypt::SSLeay is not p
I get a makefile
which is gcc compatible.
Philip
-Original Message-
From: Wiggins d Anconia [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 1:00 PM
To: Tham, Philip; beginners@perl.org
Subject: Re: Crypt SSLeay
> I did a build on the latest version of perl. However
> I did a build on the latest version of perl. However the library
> Crypt::SSLeay is not present. Any idea how do I build this library? It
> is required for https requests.
>
> Philip
>
The documentation for the module includes installation tips,
http://search.cpan.org/~chamas/Crypt-SSLeay-
Tham, Philip wrote:
I did a build on the latest version of perl. However the library
Crypt::SSLeay is not present. Any idea how do I build this library? It
its not a library its a module :)
perl -MCPAN -e 'install Crypt::SSLeay;'
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
Phil Schaechter wrote:
What am I doing wrong? I encrypt a tar file and immediatly decrypt it (in a
different function, however) and it is a totally borked file upon decryption.
I've basically copy-pasted the example from Crypt:CBC. The only clue I have
is this warning:
Use of uninitialize
Hi.
I'm in the employ of Casey West, a list admin, to assist you with your
question. I've taken the liberty to search Google using the Subject line
you provided in your email to the list. I hope one of the links below
will be of service to you.
Sadly Google hasn't given us a nice, legal API for s
try www.cpan.org
It's for all things Perl. ;-)
"Joel_divekar" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi All
>
> I am using Activestate Perl on win9x and wish to install crypt-blowfish
module. Activestate module repository does not have this module. Any advice.
>
> Regards
>
On Fri, 28 Feb 2003 16:15:27 -0600, [EMAIL PROTECTED] (Tyler Longren)
wrote:
>I found that if I change $data to "12345678", it works. How can I encrypt a
>string that has more than 8 characters?
>> When I run this code, I recieve this error:
>> "input must be 8 bytes long at
>> /usr/lib/perl5/si
Tyler Longren wrote:
>
> Hi Folks,
Hello,
> The code at http://longren.no-ip.org/tyler/blowfish.pl encrypts some $data.
> Once the data is encrypted, the hex value should be stored in $ciphertext.
> $plaintext should have the original data that's in $data.
>
> When I run this code, I recieve th
.--[ Frank Wiles wrote (2003/02/28 at 16:20:37) ]--
|
| .--[ Tyler Longren wrote (2003/02/28 at 16:15:27) ]--
| |
| | I found that if I change $data to "12345678", it works. How can
| | I encrypt a string that has more than 8 characters?
| |
| `--
.--[ Tyler Longren wrote (2003/02/28 at 16:15:27) ]--
|
| I found that if I change $data to "12345678", it works. How can I encrypt a
| string that has more than 8 characters?
|
`-
You'll want to look at Crypt::CBC which can u
> Hi Folks,
>
> The code at http://longren.no-ip.org/tyler/blowfish.pl
> encrypts some $data. Once the data is encrypted, the hex
> value should be stored in $ciphertext. $plaintext should have
> the original data that's in $data.
>
> When I run this code, I recieve this error:
At the risk of
I found that if I change $data to "12345678", it works. How can I encrypt a
string that has more than 8 characters?
Thanks,
Tyler
- Original Message -
From: "Tyler Longren" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 3:47 PM
Subject: Crypt::Blowfish errors
Patricia Hinman wrote:
> > There are measures that can be taken to make it
> > harder for someone to get the source, but there is
> > no way to prevent it. There is also little reason
> > to, that I can see, most things that are done with
> > javascript are relatively simple anyways, and since
>
Patricia Hinman wrote:
> OOPS mistake corrected
> > I did stumble across a method call to a cryption()
> ---wrong crypt() is the method --
>
> I have just discovered it is a unix function. It
> doesn't decrypt. One must always crypt user input then
> check for equality.
> if (crypt ($gu
On Fri, 14 Feb 2003 11:17:48 -0800 (PST), [EMAIL PROTECTED] (Patricia
Hinman) wrote:
>I don't want to hide the main source code. Only
>encrypt the password on the client side. I could do
>that with a js program. Then my pl file could unwind
>the script. This is to keep people from viewing the
> There are measures that can be taken to make it
> harder for someone to get the source, but there is
> no way to prevent it. There is also little reason
> to, that I can see, most things that are done with
> javascript are relatively simple anyways, and since
> it is an open language so someone
On Fri, 14 Feb 2003 09:12:52 -0800 (PST), Patricia Hinman <[EMAIL PROTECTED]> wrote:
> Thanks!
> That does help. I was reading this page which talks
> about unix and windows crypt().
>
> http://www.tech.irt.org/articles/js164/
>
> Now I'm wonder
On Thu, 13 Feb 2003 20:57:05 -0800 (PST), [EMAIL PROTECTED] (Patricia
Hinman) wrote:
>OOPS mistake corrected
>> I did stumble across a method call to a cryption()
>---wrong crypt() is the method --
>
>I have just discovered it is a unix function. It
>doesn't decrypt. One must always cr
MAIL PROTECTED]]
> > Sent: Friday, February 14, 2003 5:06 AM
> > To: Patricia Hinman; [EMAIL PROTECTED]
> > Subject: RE: crypt() unix function, what about
> windows cryption?
> > .htpasswd file
> >
> >
> >
> >
Hi - (I'm the 'someone' who said crypt worked on windows) -
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 14, 2003 5:06 AM
> To: Patricia Hinman; [EMAIL PROTECTED]
> Subject: RE: crypt() unix functio
On Thu, 13 Feb 2003 20:57:05 -0800 (PST), Patricia Hinman <[EMAIL PROTECTED]> wrote:
> OOPS mistake corrected
> > I did stumble across a method call to a cryption()
> ---wrong crypt() is the method --
>
> I have just discovered it is a
Hi - crypt () works fine for me on Win2K...
> -Original Message-
> From: Patricia Hinman [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 13, 2003 6:57 PM
> To: [EMAIL PROTECTED]
> Subject: crypt() unix function, what about windows cryption? .htpasswd
> file
>
>
> OOPS mistake corre
I'd like to thank everyone on and off list for thier help even the ones
that chewed me out for even thinking of writeing a perl mod that
executes as root. I don't plan on this type of code going on a prodution
server for some time but finaly got it working like it should. One bump
down, many to com
The first two letters of the encrypted string are the salt.
eg:
my $password = "abc";
my $salt = "GH";
my $encrypted = crypt($password, $salt);
print "$encrypted\n";
print substr($encrypted, 0, 2), "\n";
will give you
GHl/YThw3THFc
GH
On Sun, 2002-12-08 at
thank you for your help, but still no dice. I am wondering what's going on here.
I installed Crypt-PasswdMD5-1.2 perl module to make this work.
my script is as follows (I know showing the salt isn't suposed to be done
but before I put it to use I plan to randomly generate it)
#!/usr/bin/perl
print
>> On 8 Dec 2002 07:22:39, Jerry M. Howell II <[EMAIL PROTECTED]> said:
> I used the useradd -p and it doesn't insert the passwd like it
> should I should see something like $1$blahhblahhblahh but it
> doesn't do this, if I manualy insert it it works fine but it looks
> like print `/us
ok,
I finaly got it figured out just one last problem. I used
the useradd -p and it doesn't insert the passwd like it should
I should see something like $1$blahhblahhblahh but it doesn't
do this, if I manualy insert it it works fine but it looks like
print `/usr/sbin/useradd "$username" -p "$pw
Hiya.
Salt is just a thing which helps you encoding the stuff.
From a book:
The crypt Function
The crypt function encrypts a string using the NBS Data Encryption Standard
(DES) algorithm.
The syntax for the crypt function is
result = crypt (original, salt);
original is the string to be
thanks that did it.
i always forget to binmode things :(
cheers
toby
> -Original Message-
> From: John W. Krahn [mailto:krahnj@;acm.org]
> Sent: Wednesday, October 23, 2002 4:26 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Crypt::CBC w/Crypt-DES
>
>
> Toby Stuart
Toby Stuart wrote:
>
> Hi All,
Hello,
> I'm trying to encrypt/decrypt a text file using Crypt::CBC with DES.
>
> The encryption works fine but the decryption seems to yield
> only the first few bytes of the original text. I'm sure i'm missing
> something simple.
perldoc -f binmode
J
To make a comment more to your intent, I just installed
Crypt::Cracklib. It seems to work fine. It's not particularly slow, so
unless there is a reason you want to supplement it, I would just run
with the cracklib checks.
On Tuesday, July 23, 2002, at 04:10 PM, George Schlossnagle wrote:
>
Probably not the input you're looking for but: If your page is in php,
why are you passing it to a perl script? Having to maintain things in
two languages is a pain, you invariably end up with large amounts of
duplicated code. Maintaining redundant code in 1 language is hard
enough, maintai
[EMAIL PROTECTED]]
> Sent: Tuesday, July 23, 2002 3:57 PM
> To: Batchelor, Scott; [EMAIL PROTECTED]
> Subject: RE: Crypt::Cracklib?
>
>
> Anyone have any input on this?
>
> Scott
>
>
>
>
> -Original Message-
> From: Batchelor, Scot
Anyone have any input on this?
Scott
-Original Message-
From: Batchelor, Scott
Sent: Tuesday, July 23, 2002 12:07 PM
To: [EMAIL PROTECTED]
Subject:Crypt::Cracklib?
Does anyone have any experience with this module?
Basically I have a PHP page which is passing a u
the 'birthday attack'.
> -Original Message-
> From: Teresa Raymond [mailto:[EMAIL PROTECTED]]
> Sent: 01 June 2002 07:02 AM
> To: Felix Geerinckx; Perl Beginners List
> Subject: Re: Crypt:: or ???
>
>
> I thought that I would need to decrypt to check to se
On Saturday, June 1, 2002, at 04:08 , Felix Geerinckx wrote:
[..]
> perldoc -f crypt
>
> Essentially, when you want to check a submitted password, you encrypt it
> and compare the result with the encrypted version of the real password,
> which you have stored somewhere.
to illustrate F
on Sat, 01 Jun 2002 05:02:09 GMT, Teresa Raymond wrote:
> I thought that I would need to decrypt to check to see if the
> password submitted was the correct password, please explain why this
> is not so...
>
You will find more information when you type
perldoc -f crypt
Essen
I thought that I would need to decrypt to check to see if the
password submitted was the correct password, please explain why this
is not so...
>on Fri, 24 May 2002 21:54:09 GMT, Teresa Raymond wrote:
>
>> Which module is the easiest to learn and offers the best
>> encryption/decryption? The
on Wed, 29 May 2002 05:32:42 GMT, [EMAIL PROTECTED] (Langa
Kentane) wrote:
> Any ideas if there exists a more secure alternative to this
> library? From the documentation it says that the library only
> generates passwords in with no panctuation & special chars & all
> the passwords are not in m
Teresa Raymond [[EMAIL PROTECTED]] quoth:
*>Which module is the easiest to learn and offers the best
*>encryption/decryption? There were so many that I did not feel
*>capable of choosing one at CPAN. Encryption/decryption for username
*>and passwords
Unix passwords use what is known as DES w
On Friday, May 24, 2002, at 03:33 , Egor Brandt wrote:
> but I wanna know everybody's password... I can't do without decrypting
> them, can I, or are they gonna tell me when I simply ask?
Depending upon the authentication 'service' there are a
variety of ways you can hack them. Few of them use
but I wanna know everybody's password... I can't do without decrypting them, can I, or
are they gonna tell me when I simply ask?
For usernames and passwords, 'crypt' should be sufficient.
perldoc -f crypt
Also, please note that there really is no reason to be able to decrypt
passwords.
--
On Friday, May 24, 2002, at 02:54 , Teresa Raymond wrote:
> Which module is the easiest to learn and offers the best
> encryption/decryption? There were so many that I did not feel capable of
> choosing one at CPAN. Encryption/decryption for username and passwords
MD5 is the general standar
on Fri, 24 May 2002 21:54:09 GMT, Teresa Raymond wrote:
> Which module is the easiest to learn and offers the best
> encryption/decryption? There were so many that I did not feel
> capable of choosing one at CPAN. Encryption/decryption for username
> and passwords
For usernames and password
Jon Molin wrote:
>
> Hi list,
>
> I've been trying to install Crypt::RSA for a couple of hours now and
> I've run out of ideas.
>
> perl Makefile.PL and make runs smoothly but make test shows this:
>
> PARI: *** precision loss in truncation at
> /usr/lib/perl5/site_perl/Crypt/Primes.pm lin
On Jan 5, [EMAIL PROTECTED] said:
>Can someone please explain what the SALT is used for, HOW should it be set,
>that is,
>how many characters long it should be etc.
>
>There is little explanation besides the example in the manual, as well as
>on the camel book.
The documentation points you to cr
> [EMAIL PROTECTED] said:
> Hi, below is a piece of code from the perl man pages.
>
> My question deals with: crypt PLAINTEXT, SALT
>
> Can someone please explain what the SALT is used for, HOW should it be set,
> that is,
> how many characters long it should be etc.
SALT is used to vary the h
79 matches
Mail list logo