Actionscript PHP'nin crypt fonksiyonunun eşdeğeri

0 Cevap php

I am migrating my PHP code to Google App Engine - Java.
Since I couldn't find an equivalent function of crypt in Java,
I can do without it if I find an equivalent function in actionscript.

Edit 1: İşte parolaları şifrelemek için benim php kodu:

$password = "test123";
$pwd = crypt($password,$password);
echo $pwd;

Output is (On Windows as well as a linux based server on HostMonser):
temjCCsjBECmU

0 Cevap