Bana bu soran mind ama ben php için yeni ve ben bir şifre şifrelemek ve şifresini çözmek için gerek etmeyiniz. Ben bu yüzden mycrypt kullanmak için en güvenli yol olduğunu duydum bir URL üzerinden şifre göndermek istediğiniz.
I don't get the thing with the KEY in the mycrypt function? Shouldn't that be as secret as the password itself. e.g. I'm using this function from the PHP manual:
<?php
$iv_size = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB);
$iv = mcrypt_create_iv($iv_size, MCRYPT_RAND);
$key = "this is my personal decryption key";
$text = "Meet me at 11 o'clock behind the monument.";
echo strlen($text) . "\n";
$crypttext = mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $key, $text, MCRYPT_MODE_ECB, $iv);
echo strlen($crypttext) . "\n";
?>
i istediğiniz ne olursa olsun $ anahtarı ayarlayabilirsiniz? Birisi ben bu $ anahtarı kurmak benim belgenin kaynağını yükler ne olur. o kolayca tekrar $ metin şifresi yapabiliyor. değil mi? Ya ben bu işlevle yanlış bir şey alabilirim?