Article View: alt.privacy.anon-server
Article #239508unix encryption mcrypt_encrypt mcrypt_decrypt
From: 0
Date: Tue, 29 Jun 2010 07:25
Date: Tue, 29 Jun 2010 07:25
32 lines
1287 bytes
1287 bytes
x-no-archive: yes
mcrypt_decrypt mcrypt_encrypt
I can't encrypt / decrypt some characters like $...
Parse error: syntax error, unexpected $end in /home/web/eee/encryption.php
on line 28
thanks
<?php
$plain_text = "{}[]:";'<>?,./`1234567890-=~!@#$%^&*()_+";
$password = "this is the password";
$initialization_vector = 11223344;
$encrypted_text = mcrypt_encrypt(MCRYPT_3des, $password, $plain_text,
MCRYPT_MODE_cfb, $initialization_vector );
echo $encrypted_text ;
?>
Technical Details
Message-ID:
<4c2991c7$0$4980$607ed4bc@cv.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-sci.crypt.(901875).mbox.7z!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <4c2991c7$0$4980$607ed4bc@cv.net> Subject: unix encryption mcrypt_encrypt mcrypt_decrypt Date: Tue, 29 Jun 2010 02:25:18 -0500 From: "0" <p> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-sci.crypt.(901875).mbox.7z!not-for-mail Newsgroups: sci.crypt,alt.privacy.anon-server X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5843 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Lines: 30 Organization: Optimum Online NNTP-Posting-Host: 69.118.239.99 X-Complaints-To: abuse@cv.net X-Original-Bytes: 1185