Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
crypt
- Page 1
Crypt::Blowfish / Crypt::CBC
Programming
Software Development
16 Years Ago
by Didiera
… whenever I try to initialise an cypher object of type
Crypt
::CBC and supplying 'Blowfish' as decryption algorithm, I get the…:\>decrypt.pl Couldn't load
Crypt
::Blowfish: Can't locate loadable object for module
Crypt
::Bl owfish in @INC (@INC contains…
Re: Crypt::Blowfish / Crypt::CBC
Programming
Software Development
16 Years Ago
by Didiera
… is that I don't find
Crypt
-Blowfish or
Crypt
-DES either... moreover the only version of
Crypt
-CBC available on activeState is…
Re: Question about crypt function
Programming
Web Development
17 Years Ago
by Walkere
… new salt. Like this example... [code=php]$cypher =
crypt
( time() ); $password =
crypt
('password', $cypher); if (
crypt
('password', $password) == $password) echo "Match!"… salt and save it in the password: [code=php]$password =
crypt
($original_password,
crypt
( time () ) );[/code] Retrieve the encrypted $password from the DB…
Re: Question about crypt function
Programming
Web Development
17 Years Ago
by Walkere
…php.net[/url], certain situations will cause
crypt
() to only look at the first eight … eight characters... [code]<?php echo
crypt
('password', 'blablabla'); echo
crypt
('password1', 'blablabla'); ?>[/code] One…up). [code]<?php $cypher =
crypt
( time() ); echo
crypt
('password', $cypher); echo
crypt
('password1', $cypher); ?>[/code] …
PHP Crypt Function
Programming
Web Development
12 Years Ago
by Octet
…Password = $_POST['Password']; $CurPassword = file_get_contents($_SERVER['DOCUMENT_ROOT'].'/DB/Hash'); if(
crypt
($Password, $CurPassword) == $CurPassword){ echo("MATCH"); } else{ echo… what is going wrong. If I use `$CurPassword =
crypt
($Password);` instead it seems to work. 2. I have…
TCP server with md5 Authentication + 3des crypt
Programming
Software Development
15 Years Ago
by especta
… have try to make TCP server with md5 Authentication + 3des
crypt
example: user name = somtimg pasword = pass and des key = 1020304050607080901011121314…; { Start litening } Display('Waiting for clients...'); hire is string 3des
crypt
procedure TForm1.Button1Click(Sender: TObject); var i: integer; Cipher: TDCP_3des…
Re: PHP Crypt Function
Programming
Web Development
12 Years Ago
by phorce
IMO I wouldn't
crypt
the password, more, hash them but it's up to … is not a safe route to go down. P.S.
Crypt
isn't two way encription, which is very misleading. Which…
Re: PHP Crypt Function
Programming
Web Development
12 Years Ago
by phorce
…_POST['Password']; $Password = "abc123"; $CurPassword =
crypt
("abc123"); // $CurPassword = file_get_contents($_SERVER['DOCUMENT_ROOT'].'/DB/Hash…'); if(
crypt
($Password, $CurPassword) == $CurPassword){ echo("MATCH&…
Re: PHP Crypt Function
Programming
Web Development
12 Years Ago
by Octet
…, this is the first time I've tried out the
crypt
() function. In terms of storing passwords, it is only going…
Re: Using Blowfish with crypt
Programming
Web Development
13 Years Ago
by diafol
[url]http://php.net/manual/en/function.
crypt
.php[/url] You check to see if it's available - … characters outside of this range in the salt will cause
crypt
() to return a zero-length string. The two digit cost… in range 04-31, values outside this range will cause
crypt
() to fail.[/QUOTE] So the Blowfish salt in the example…
Question about crypt function
Programming
Web Development
17 Years Ago
by ryy705
Hello, I just used the
crypt
command on 'password' and 'password1' and got identical output!! What are the rules concerning the
crypt
function? Am I not allowed to use numbers? EXACTLY what am I allowed to use? Many thanks in advance.
Re: Question about crypt function
Programming
Web Development
17 Years Ago
by ryy705
Thanks for your reply. If use $cypher =
crypt
( time() ) as my salt, I would have to remember the value generated by time(). This will allow me check their password during login. Am I right? I am working on an existing site. I myself don't know why
crypt
was used.
Using Blowfish with crypt
Programming
Web Development
13 Years Ago
by Pytho
Hi all Could someone show me an example how to use Blowfish with
crypt
? [code]$password =
crypt
($_POST["password"], '$2a$07$0k5ls4mbfakdl2mbk5lo9dkr$');[/code] Looks strange as well as the output.
Re: Encrypt and Decrypt with the Swap Crypt
Programming
Software Development
12 Years Ago
by bumsfeld
Here is the simple shift
crypt
code: ''' crypt_shift.py encrypt and decrypt text using the shift … station ''' See if you can combine the swap and shift
crypt
to make it harder on hackers to decrypt.
using crypt in c
Programming
Software Development
15 Years Ago
by scrappy57
hai friends can anyone give me an example of a program to hash using
crypt
(3) thanks linux learner.
Re: using crypt in c
Programming
Software Development
15 Years Ago
by jephthah
[url]http://www.gnu.org/s/libc/manual/html_node/
crypt
.html[/url]
Encrypt and Decrypt with the Swap Crypt
Programming
Software Development
12 Years Ago
by bumsfeld
This shows the code for one simple
crypt
of text by swapping two adjoining characters each. You can make that more complex if you like. Can also be used for one nice riddle.
Doubts using crypt
Programming
Web Development
11 Years Ago
by iamthwee
K, so I'm using
crypt
() to hash my passwords as that seems to be the …
Re: Doubts using crypt
Programming
Web Development
11 Years Ago
by diafol
>Do you need to salt it? From the manual: >However,
crypt
() creates weak password without salt. PHP 5.6 or later raise E_NOTICE error without it. Make sure specify strong enough salt for better security. Keeping at 5.3 is probably a bad idea. Moving onwards, you could use the new password hash functions.
Re: Doubts using crypt
Programming
Web Development
11 Years Ago
by iamthwee
…) the time and cost. I'm just concerned that this
crypt
() functions seems dependent on the Operating System and not even…
Re: Doubts using crypt
Programming
Web Development
11 Years Ago
by diafol
I've been using hash_hmac. I think you're right to say that you'll produce different hashes on different versions of php and servers with
crypt
.
Re: Crypt::Blowfish / Crypt::CBC
Programming
Software Development
16 Years Ago
by KevinADC
looks like you are on Windows, so I assume you are using activeperl. For that you use the PPM application to install modules. Read the activeperl documentation for instructions on using PPM. There is no compling involved.
Re: Crypt::Blowfish / Crypt::CBC
Programming
Software Development
16 Years Ago
by Didiera
...ok I just saw that I could add more repository sources... this might be a solution for my problem. I'll keep you guys informed Cheers =)
Re: Crypt::Blowfish / Crypt::CBC
Programming
Software Development
16 Years Ago
by KevinADC
You can add repositories but there are a lot of modules that have never been ported to PPM. You can download modules and put them in a folder of your choice and use the lib pragma to include the folders in @INC. Sometimes this is difficult if there are a lot of modules and sub modules but it is doable. Or maybe someone can help with installing CPAN…
Re: Crypt::Blowfish / Crypt::CBC
Programming
Software Development
16 Years Ago
by KevinADC
This is a more drastic option, you can try [url]www.strawberryperl.com[/url] which is a windows port of perl that uses the standard CPAN interface.
Re: Crypt::Blowfish / Crypt::CBC
Programming
Software Development
16 Years Ago
by Didiera
Thanks a lot for all the info, I'll try each solution out today. Don't worry i'm having a backup solution anyway; but i think it will be ok. By the way the strawberry on the welcome page gave me a bit of a crave for strawberries...hmmm I'm gonna get myself a box at lunch =) ...me want strawberry and whipped cream! cheers, Didier
Re: Crypt::Blowfish / Crypt::CBC
Programming
Software Development
16 Years Ago
by Didiera
I know this has been going on for a long time and I do hope you're not getting bored. I have opted for the Strawberry proposal. I installed it and then tried upgrading its packages via CPAN Client... the first time I launched it, I had an error stating that perl58.dll was missing. I got it back from the Internet and dropped it in my System32 folder…
Re: Crypt::Blowfish / Crypt::CBC
Programming
Software Development
16 Years Ago
by Didiera
That cryptography thing is really giving me a hard time :(
Re: Crypt::Blowfish / Crypt::CBC
Programming
Software Development
16 Years Ago
by KevinADC
I'm sorry but I can not help with issues of running or installing strawberryperl. I have installed it on a couple of of Windows PCs (XP and 2000) and it ran fine for me. Maybe one of the resources listed on the strawberryperl website can assist you: [url]http://strawberryperl.com/support.html[/url]
Re: Crypt::Blowfish / Crypt::CBC
Programming
Software Development
16 Years Ago
by Didiera
Thanks a lot my friend. I will sure check the link. regards, Didier
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC