Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

The first easily-embeddable MD5 library for Arduino

NotificationsYou must be signed in to change notification settings

tzikis/ArduinoMD5

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is an MD5 library for the Arduino, based on scottmac's MD5 library, which you can find here:https://github.com/scottmac/arduino

I created this because I was having a really hard time finding an easy-to-install and use libray for the Arduino,so I decided to make my own. There is an example on how to use it.

Installation

Create a folder namedMD5 in thelibraries folder inside your Arduino sketch folder. If thelibraries folder doesn't exist, create it. Then copy everything inside. (re)launch the Arduino IDE.

You're done. Time for a mojito

Usage

If you create md5 Hashes in a loop you must give the Memory back to the System

unsigned char* hash=MD5::make_hash("hello world");//generate the digest (hex encoding) of our hashchar *md5str = MD5::make_digest(hash, 16);//print it on our serial monitorSerial.println(md5str);//Give the Memory back to the System if you run the md5 Hash generation in a loopfree(md5str);//free dynamically allocated 16 byte hash from make_hash()free(hash);

About

The first easily-embeddable MD5 library for Arduino

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++100.0%

[8]ページ先頭

©2009-2025 Movatter.jp