Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: rtlong
@Jelkster Totally! I've been watching Railscasts since 2007 and I've learned so much from them. I'm happy to be giving back now. Keep up the awesome work, Ryan!
I am curious why one may want to use this type of caching over HTTP Caching (with Rack::Cache, for example)...
Actually, bcrypt-ruby uses this method to parse the digest string:
_, v, c, mash = h.split('$')
return v, c.to_i, h[0, 29].to_str, mash[-31, 31].to_str
The return of which is [version, cost, salt, hash]. So:
It is definitely cool!