Link Details

Link 64652 thumbnail
User 262632 avatar

By roshanbh
via roshanbh.com.np
Published: Feb 06 2008 / 08:09

Basic encryption and decryption technique in PHP.....
  • 4
  • 6
  • 1473
  • 382

Comments

Add your comment
User 52357 avatar

pulesen replied ago:

1 votes Vote down Vote up Reply

There are some serious misunderstandings about encryption in this article. Base64 encoding is mentioned as encryption. Auch! Beware.

User 256617 avatar

dragmire replied ago:

0 votes Vote down Vote up Reply

Base64 encoding is nothing close to encryption.

User 263129 avatar

isnoop.myopenid.com replied ago:

0 votes Vote down Vote up Reply

base64 *is* encryption, just like rot13. The fact that they are complete rubbish from a security perspective doesn't mean they aren't encryption.

User 256617 avatar

dragmire replied ago:

0 votes Vote down Vote up Reply

The definition of encryption requires that only those who have the key can decode the message. Base64 is an encoding, not an encryption.

On the other hand, the method by which Roshan employs the encoding could be considered an encryption if the method of encoding were considered the key, but I think thats kind of a stretch.

http://ostermiller.org/utils/Base64.html

User 262632 avatar

roshanbh replied ago:

-1 votes Vote down Vote up Reply

come on base64 is a encryption i agree that they are not much secure but they are encryption and the part of cryptograpthy

User 260061 avatar

bbosh replied ago:

0 votes Vote down Vote up Reply

Wow! I think this might really revolutionize cryptography! NOT! So basically, he's telling us to stop using the "insecure" md5() and sha1() functions for the better alternative of base64_encode?

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (4)



Voters Against This Link (6)