[erlang-questions] Ruby-like crypt function?

Tim Fletcher <>
Tue Aug 26 13:30:47 CEST 2008


> I'm wondering, perhaps I'm not looking in the right place, but the
> crypto application, along with the main erlang BIF's, don't seem to
> have the equivalent of Ruby's String#crypt() method. I've searched a
> bit, with no luck. Hopefully posting here will lead me in the right
> direction!

There isn't an exact equivalent (that i'm aware of), but String#crypt
uses DES/MD5 internally, which the crypto module does support.



More information about the erlang-questions mailing list