src/Robin/Ntlm/Hasher/NtV1Hasher.php
public function hash(Password $password)
    {
        $unicode_password_string = $this->encoding_converter->convert(
            $password->getValue(),
            static::HASH_SOURCE_ENCODING
        );

        $crypt_hasher = $this->crypt_hasher_factory->build(static::EXPECTED_HASHER_ALGORITHM);

        $binary_hash = $crypt_hasher->update($unicode_password_string)->digest();

        return Hash::fromBinaryString($binary_hash, HashType::NT_V1);
    }
public function hash(Password $password)
    {
        $unicode_password_string = $this->encoding_converter->convert(
            $password->getValue(),
            static::HASH_SOURCE_ENCODING
        );

        $crypt_hasher = $this->crypt_hasher_factory->build(static::EXPECTED_HASHER_ALGORITHM);

        $binary_hash = $crypt_hasher->update($unicode_password_string)->digest();

        return Hash::fromBinaryString($binary_hash, HashType::NT_V1);
    }
{@inheritDoc}