# Amb82 password hashing

**URL:** <https://forum.amebaiot.com/t/amb82-password-hashing/2863>\
**Category:** SDK\
**Tags:** evb-amb82, rtl8735b\
**Created:** [April 17, 2024, 10:25pm UTC](https://forum.amebaiot.com/t/amb82-password-hashing/2863 "2024-04-17T22:25:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![wdoug](https://avatars.discourse-cdn.com/v4/letter/w/e0b2c6/32.png) [@wdoug](https://forum.amebaiot.com/u/wdoug)\
**Post date:** [April 17, 2024, 10:25pm UTC](https://forum.amebaiot.com/t/amb82-password-hashing/2863/1 "2024-04-17T22:25:20Z")

</div>

Good day,

Are there any password hashing libraries available for Arduino IDE and Amb82 ? I tried some of the libraries available but the examples would not compile successfully.  
Any help would be appreciated. Thank you.

---

<div class="post-metadata">

**Author:** ![Kelvin\_Huang](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/kelvin_huang/32/2130_2.png) [@Kelvin\_Huang](https://forum.amebaiot.com/u/Kelvin_Huang)\
**Post date:** [April 18, 2024, 9:16am UTC](https://forum.amebaiot.com/t/amb82-password-hashing/2863/2 "2024-04-18T09:16:32Z")

</div>

Hi @wdoug,

Which examples have you tried and what errors are you facing?

Maybe I can take a look and see if I can port these libraries.

Thank you.

---

<div class="post-metadata">

**Author:** ![wdoug](https://avatars.discourse-cdn.com/v4/letter/w/e0b2c6/32.png) [@wdoug](https://forum.amebaiot.com/u/wdoug)\
**Post date:** [April 18, 2024, 12:04pm UTC](https://forum.amebaiot.com/t/amb82-password-hashing/2863/3 "2024-04-18T12:04:51Z")

</div>

Kelvin, thank you for your reply and willingness to assist. It is much appreciated.  
I tried this library:

> **[AESLib - Arduino Reference](https://www.arduino.cc/reference/en/libraries/aeslib/)**
>
> The Arduino programming language Reference, organized into Functions, Variable and Constant, and Structure keywords.

If you might have any other suggestions I’d appreciate that.

Thank you.

---

<div class="post-metadata">

**Author:** ![wdoug](https://avatars.discourse-cdn.com/v4/letter/w/e0b2c6/32.png) [@wdoug](https://forum.amebaiot.com/u/wdoug)\
**Post date:** [April 18, 2024, 12:10pm UTC](https://forum.amebaiot.com/t/amb82-password-hashing/2863/4 "2024-04-18T12:10:08Z")

</div>

Kelvin,

I replied in the post , but not sure if I you would get notified so I’m replying directly to your answer as well.

The library I tried was:

> **[AESLib - Arduino Reference](https://www.arduino.cc/reference/en/libraries/aeslib/)**
>
> The Arduino programming language Reference, organized into Functions, Variable and Constant, and Structure keywords.

Any other suggestions would also be appreciated.

Thank you for your assistance.

---

<div class="post-metadata">

**Author:** ![Kelvin\_Huang](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/kelvin_huang/32/2130_2.png) [@Kelvin\_Huang](https://forum.amebaiot.com/u/Kelvin_Huang)\
**Post date:** [April 19, 2024, 1:52am UTC](https://forum.amebaiot.com/t/amb82-password-hashing/2863/5 "2024-04-19T01:52:21Z")

</div>

Hi @wdoug,

I think this library can be easily used (I might be wrong since I have not tried it yet.) Can I double confirm of the input that you put in? Please refer to the below image to see if you have done the following.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/ameba/original/2X/b/b6d5e769b84e850b1da4806c111b6c0959fc1be3.png)

Thank you.

---

<div class="post-metadata">

**Author:** ![wdoug](https://avatars.discourse-cdn.com/v4/letter/w/e0b2c6/32.png) [@wdoug](https://forum.amebaiot.com/u/wdoug)\
**Post date:** [April 19, 2024, 7:37pm UTC](https://forum.amebaiot.com/t/amb82-password-hashing/2863/6 "2024-04-19T19:37:23Z")

</div>

Hi Kelvin,

I simply tried to compile one of the examples from the library to test if it would compile successfully, which it did not.  
My goal is to hash a password which would be a string / array. If other libraries exist that would be easier to implement I would be interested in suggestions.

I do not want to reinvent the wheel when this type of thing has been around forever if you know what I mean.

Thx

---

<div class="post-metadata">

**Author:** ![Kelvin\_Huang](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/kelvin_huang/32/2130_2.png) [@Kelvin\_Huang](https://forum.amebaiot.com/u/Kelvin_Huang)\
**Post date:** [April 19, 2024, 11:53pm UTC](https://forum.amebaiot.com/t/amb82-password-hashing/2863/7 "2024-04-19T23:53:37Z")

</div>

Hi @wdoug,

I will try it again on Monday and let you know.

Thanks.

---

<div class="post-metadata">

**Author:** ![Kelvin\_Huang](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/kelvin_huang/32/2130_2.png) [@Kelvin\_Huang](https://forum.amebaiot.com/u/Kelvin_Huang)\
**Post date:** [April 22, 2024, 6:33am UTC](https://forum.amebaiot.com/t/amb82-password-hashing/2863/8 "2024-04-22T06:33:54Z")

</div>

Hi @wdoug,

I have tried this and indeed there are compilation errors from using this library. This feature have not yet been ported to Arduino SDK, and will need time to be implemented for AES encryption Arduino example.

Thank you.
