Ruby extension to message digest library 