title: Are bcrypt salts accessible separately?
body: <p>When using <code>has_secure_password</code> in Rails 3.1, bcrypt randomly generates a salt for each user's password. Based on <a href="https://stackoverflow.com/questions/277044/do-i-need-to-store-the-salt-with-bcrypt/277057#277057">this response</a>, I understand the salt is stored as part of the password hash. Is there a method or attribute available to access that salt separately, for example to use in writing secure cookies?</p>