diff --git a/upassword b/upassword index 080068e..9faa582 100755 --- a/upassword +++ b/upassword @@ -4658,7 +4658,12 @@ public class upassword { println("salt: " + toHex(binarySalt)); println("ssha: " + ssha); println("smd5: " + smd5); - + if (salt.length() >= 2) { + String cryptSalt = Salt.getCryptSalt(salt); + String crypt = getPasswordCryptSalt(clear, Password.CRYPT, cryptSalt).getNormalized(); + if (!salt.equals(cryptSalt)) println("salt: " + cryptSalt); + println("crypt: " + crypt); + } } else { String cryptSalt = Salt.getCryptSalt(salt); String crypt = getPasswordCryptSalt(clear, Password.CRYPT, cryptSalt).getNormalized();