public String encrypt(String password) throws Exception
{
AbstractChecksum checksum = JacksumAPI.getChecksumInstance(name);
checksum.setEncoding("BASE64");
checksum.update(password.getBytes());
return checksum.format("#CHECKSUM");
}
@Kara i mean they are using the jacksumAPI but i cannot use that on NodeJS
Hi everyone, im creating a acp for l2scripts server
Currently i havig problems to encrypt the password, i try with the common base64_encode(pack("H*",sha1($password))), but is not working
(The stored password has 88 char lenght instead 28)
Any one working with this source know how is the password encryption?