Does Ruby on Rails support sha1 as hash algorithm in digest access authentication?

Hi

Does Ruby on Rails support sha1 as hash algorithm in digest access
authentication?
In case it does, how do I configure the web server to use it?

Kind regards,
Federico.