[erlang-patches] crypto man page error

Dan Gudmundsson dgud@REDACTED
Wed Sep 24 16:45:20 CEST 2008


I have updated and improved the example, hope that clears up the usage.
/Dan

Tim Fletcher wrote:
> At the bottom of the crypto man page there is a section titled "DES in
> CBC mode", which contains some example code which appears to be wrong.
> "Key" and "IVec" are defined variables, but then the call to
> crypto:des_cbc_encrypt/3 uses "K" and "I", which don't exist.
> 
> Also, the parameter list in the call to crypto:des_cbc_decrypt/3
> doesn't contain any spaces, which is inconsistent (if not generally,
> at least with the previous function call).
> 
> More subjectively, I think the surrounding text has a few minor
> grammatical errors and is generally a bit unclear, so it might be
> worth checking the whole section through.
> 
> Hope that helps.
> 
> Tim
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-patches
> 



More information about the erlang-patches mailing list