Extension of ActiveModel::SecurePassword that enables to use different encryption mechanisms.