# \#algorithm

**URL:** https://community.auth0.com/tag/algorithm/594.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Which algorithm is best for security?](https://community.auth0.com/t/which-algorithm-is-best-for-security/8422)

<div class="topic-metadata">

**Author:** [@swatinaag](https://community.auth0.com/u/swatinaag)\
**Replies:** 5\
**Last updated:** [October 11, 2017, 9:24am UTC](https://community.auth0.com/t/which-algorithm-is-best-for-security/8422 "2017-10-11T09:24:34Z")

</div>

Hello, I have a backend application in go and I am using jwt authentication method for my api’s. I have two questions: Which one the best algorithm for secure an api HS256 or RS256 I have created an api using the RS…

---

## [Changing signing algorithm doesn't work](https://community.auth0.com/t/changing-signing-algorithm-doesnt-work/6908)

<div class="topic-metadata">

**Author:** [@sharok89](https://community.auth0.com/u/sharok89)\
**Replies:** 2\
**Last updated:** [June 6, 2017, 4:41pm UTC](https://community.auth0.com/t/changing-signing-algorithm-doesnt-work/6908 "2017-06-06T16:41:45Z")

</div>

I have selected HS256 algorithm: !\[alt text\]\[1\] And, I saved changes: !\[alt text\]\[2\] I got a new token, but when I read info jwt.io shows RS256: !\[alt text\]\[3\] This is the code that I use for login: this.auth0.cli…
