Des decryption returns empty
Posted
by Nilambari
on Stack Overflow
See other posts from Stack Overflow
or by Nilambari
Published on 2010-05-12T08:29:33Z
Indexed on
2010/05/12
8:34 UTC
Read the original article
Hit count: 248
Hi,
I am using Des.php for decryption. For few texts descript function returns Correct output in readable text format. For few... it just returns blank(empty.)
After debugging in Des.php, i found that
function _unpad($text)
is returning false. The input $text is also still encoded.
What could be the reason? Whenever decrypt function calls for _unpad($text) function, i am getting empty as results.
Des.php resource: here
© Stack Overflow or respective owner