Skip to content

Commit

Permalink
Add doc notes about MD5 configuration requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Oct 29, 2024
1 parent 051d33c commit 51eaa78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions doc/crypt/config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ https://www.boost.org/LICENSE_1_0.txt

== User Configurable Macros

The following configuration macros are available:

- None at this time
- `BOOST_CRYPT_ENABLE_MD5`: Without this define `#include <boost/crypt/hash/md5.hpp>` will issue a `#error` because it is in-secure.

== Automatic Configuration Macros

Expand Down
2 changes: 2 additions & 0 deletions doc/crypt/md5.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ https://www.boost.org/LICENSE_1_0.txt

= MD5

WARNING: MD5 is not secure so it must be explicitly enabled as an acknowledgment of the risk of using it.

This library supports MD5 as described in https://www.ietf.org/rfc/rfc1321.txt[RFC 1321].
There is a wide range of acceptable inputs for the base md5 function:

Expand Down

0 comments on commit 51eaa78

Please sign in to comment.