1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00

Ota hashed password (#2292)

* Add option to give ArduinoOTA a hashed value of the password

hashed password can be safely stored on flash

* Switch to separate method to accept the hash

* Calculate the hash of plain passwords at setup

* missed line

* Remove underscores from local variable
This commit is contained in:
Me No Dev
2016-07-18 14:28:56 +03:00
committed by Ivan Grokhotkov
parent c4f9f102ce
commit e83f30a78d
3 changed files with 17 additions and 8 deletions

View File

@ -34,6 +34,7 @@ class ArduinoOTAClass
void setHostname(const char *hostname);
String getHostname();
void setPassword(const char *password);
void setPasswordHash(const char *password);
void onStart(THandlerFunction fn);
void onEnd(THandlerFunction fn);
void onError(THandlerFunction_Error fn);