Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 633 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 633 Bytes

MD5_in_Cpp

A MD5-encryption library implemented in C++.
Copyright (c) 2016 sysu_AT < owtotwo@163.com >

How to Use

Just use md5.h for your project and call the function in namespace MD5.

#include "md5.h"

std::cout << MD5::md5("abc"); // "900150983cd24fb0d6963f7d28e17f72"

Or if you want to build an executable file for md5 encryption, you could:

prompt> g++ main.cpp

or use other compiler like clang :

prompt> clang++ main.cpp

Add -std=c++11 flag whatever you want.

License