Jump to content

Question

Posted (edited)

Καλησπέρα κύριοι,φτιάχνω μια ιστοσελίδα σε php με register form αλλά αντιμετωπίζω ενα πρόβλημα με την κρυπτογράφηση στην βάση του server

Ο σέρβερ έχει δικό του σύστημα κρυπτογράφησης -αποκρυπτογράφησης .. όταν κάνεις register στο form στην βάση αποθηκέυετε ο κανονικός κωδικός αλλα μετά ο σέρβερ αποκρυπτογράφη τον κανονικό κωδικό με αποτέλεσμα να μην μπορείς να μπείς, .. στο php τι τρόπο κρυπτογράφησης να βάλω? 

 

 

ΤΟ ΒΡΗΚΑ , Η ΛΥΣΗ ΕΊΝΑΙ 

 base64_encode(pack("H*", sha1(utf8_encode($_POST["password"])))) 
Edited by L2LostWard

1 answer to this question

Recommended Posts

  • 0
Posted

ΤΟ ΒΡΗΚΑ , Η ΛΥΣΗ ΕΊΝΑΙ 

 base64_encode(pack("H*", sha1(utf8_encode($_POST["password"])))) 

mporei na ginei lock tote :D Locked

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..