Setting a salt for password_hash()
<p>I'm creating a mass user import script in PHP for <code>owncloud</code>. I read the users from a CSV file, then I'll add them to the <code>owncloud database</code>. I'm having an issue with the passwords though. To my knowledge, owncloud uses <code>password_hash()</code> with <code>BCRYPT</code>. I have the <code>passwordsalt</code>, but I'm not sure how to use that salt with <code>password_hash()</code>. </p>

<p>Any help there guys?</p>