user
Task

Encode a string using an MD5 algorithm.   The algorithm can be found on   Wikipedia.

Optionally, validate your implementation by running all of the test values in   IETF RFC (1321)   for MD5.

Additionally,   RFC 1321   provides more precise information on the algorithm than the Wikipedia article.

|  |
| --- |
| **Warning:**   MD5 has known weaknesses, including **collisions** and forged signatures.   Users may consider a stronger alternative when doing production-grade cryptography, such as SHA-256 (from the SHA-2 family), or the upcoming SHA-3. |

If the solution on this page is a library solution, see   MD5/Implementation   for an implementation from scratch.
assistant
(formerly Perl 6)
Library Digest::MD5

```
use Digest::MD5;
say Digest::MD5.md5_hex: "The quick brown fox jumped over the lazy dog's back";

```