You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since basically access tokens are generated per request, I think maybe BCrypt is not the best choice for token hashing because it is intentionally designed to be slow. Maybe salted MD5 or SHA1 is good enough for this situation.
I'm not sure if it is a good idea but I think an AES encrypted token which contains all or some info about the current user is also feasible, because it can reduce database accesses.
The text was updated successfully, but these errors were encountered:
Since basically access tokens are generated per request, I think maybe BCrypt is not the best choice for token hashing because it is intentionally designed to be slow. Maybe salted MD5 or SHA1 is good enough for this situation.
I'm not sure if it is a good idea but I think an AES encrypted token which contains all or some info about the current user is also feasible, because it can reduce database accesses.
The text was updated successfully, but these errors were encountered: