Currently the `Smailer::Modesl::MailKey.generate` method is using MD5 with a fixed string and the email as salt. I think that at least the string should be configurable. What about reading that string from the configuration? I also think that it could admit a block, so it's much more customizable. What do you think? I would be pleased to implement it.
Currently the
Smailer::Modesl::MailKey.generatemethod is using MD5 with a fixed string and the email as salt.I think that at least the string should be configurable. What about reading that string from the configuration?
I also think that it could admit a block, so it's much more customizable.
What do you think? I would be pleased to implement it.