Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Coding Releases > Coding Snippets
You last visited: Today at 09:07

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



"Verschlüsselung" in PHP

Discussion on "Verschlüsselung" in PHP within the Coding Snippets forum part of the Coding Releases category.

Reply
 
Old   #1
 
elite*gold: 25
Join Date: Sep 2011
Posts: 5,537
Received Thanks: 1,266
"Verschlüsselung" in PHP

Hey Leute,

ich habe aus Langeweile mal eine Klasse geschrieben mit der sich einfach Texte verschlüsseln lassen.

Es ist nichts Großes, der Algo dahinter ist auch nichts besonderes.

Aber es ist mal ein unterschied zu den ganzen anderen die man sonst so sieht


Beispiel:
PHP Code:
$crypt = new pCrypt();
$crypted =  $crypt->encrypt('Encrypt me''mykey');
$plain $crypt->decrypt($crypted'mykey');

echo 
'Crypted: ' $crypted '<br>';
echo 
'Plain: ' $plain
Gruß,
Padrio
IchVerabschiedeMich is offline  
Thanks
8 Users
Old 01/22/2014, 16:15   #2
 
C0RE''s Avatar
 
elite*gold: 40
Join Date: Mar 2013
Posts: 1,394
Received Thanks: 778
Gefällt mir sehr Danke dir
C0RE' is offline  
Old 01/23/2014, 11:01   #3

 
Ravenstorm's Avatar
 
elite*gold: 0
The Black Market: 100/0/0
Join Date: Jan 2010
Posts: 13,150
Received Thanks: 3,207
Quote:
NzY2fDY5MHw3NjZ8NjkwfDc2Nnw2OTB8NzY2fDY5MHw3NjZ8Nj kwfDc2Nnw2OTB8NzY2fDY5MHw3NjZ8NjkwfDc2Nnw2OTB8NzY2 fDY5MHw3NjZ8NjkwfDc2Nnw2OTB8NzY2fDY5MHw3NjZ8NjkwfD c2Nnw2OTB8NzY2fDY5MHw3NjZ8NjkwfDc2Nnw2OTB8NzY2fDY5 MHw3NjZ8NjkwfDc2Nnw2OTB8NzY2fDY5MHw3NjZ8NjkwfDc2Nn w2OTB8NzY2fDY5MHw3NjZ8NjkwfDc2Nnw2OTB8NzY2fDY5MA==
n bisschen langer encrypt aber schön einfach gehaltene Funktion.
Ravenstorm is offline  
Old 01/23/2014, 18:32   #4
 
elite*gold: 25
Join Date: Sep 2011
Posts: 5,537
Received Thanks: 1,266
Quote:
Originally Posted by Ravenstorm View Post
n bisschen langer encrypt aber schön einfach gehaltene Funktion.
Ich bastel nachher noch einmal ein wenig dran vielleicht lässt sich da noch ein wenig was machen.
IchVerabschiedeMich is offline  
Old 01/28/2014, 19:18   #5



 
MajorTypo's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 1,380
Received Thanks: 570
Sehr schön. Danke Padrio.
MajorTypo is offline  
Thanks
1 User
Old 04/04/2014, 20:09   #6
 
elite*gold: 0
Join Date: Feb 2014
Posts: 4
Received Thanks: 3
Einfaches base64 ....
Schade .... hätte an deine Stelle dann doch eher Rot-13 gewählt.
Ist nicht so weit verbreitet wie base.

Dennoch nicht schlecht programmiert.
.tux is offline  
Old 04/05/2014, 00:04   #7
 
YatoDev's Avatar
 
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
Quote:
Originally Posted by .tux View Post
Einfaches base64 ....
Schade .... hätte an deine Stelle dann doch eher Rot-13 gewählt.
Ist nicht so weit verbreitet wie base.

Dennoch nicht schlecht programmiert.
ich hätte ja Rot-26 gewählt. bietet doppelte sicherheit
YatoDev is offline  
Thanks
6 Users
Old 04/21/2014, 01:45   #8
 
.Milo''s Avatar
 
elite*gold: 25
Join Date: Feb 2014
Posts: 110
Received Thanks: 62
base64 ehrlich ?
.Milo' is offline  
Old 04/21/2014, 04:50   #9
 
elite*gold: 25
Join Date: Sep 2011
Posts: 5,537
Received Thanks: 1,266
Quote:
Originally Posted by .Milo' View Post
base64 ehrlich ?
Jup
IchVerabschiedeMich is offline  
Old 04/23/2014, 14:59   #10
 
elite*gold: 0
Join Date: Apr 2014
Posts: 9
Received Thanks: 2
Gefällt mir gut
Hier mal eine alte wo ich noch auf dem Rechner gefunden habe (nicht von mir, aber auch nützlich):


PDDStudio is offline  
Old 06/04/2015, 22:17   #11
 
• Craix •'s Avatar
 
elite*gold: 1
Join Date: Aug 2014
Posts: 410
Received Thanks: 54
Sowas habe ich überall gesucht, danke dir.
• Craix • is offline  
Reply




All times are GMT +2. The time now is 09:07.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.