Changeset - dd676aab3b4d
default
0
1
0
auth: use HMAC-SHA1 to calculate password reset token
The use of standard cryptographic primitives is always preferable, and
in this case allows us not to worry about length extension attacks
and possibly any number of issues that I'm not presently aware of.
Also fix a potential Unicode encoding problem.
The use of standard cryptographic primitives is always preferable, and
in this case allows us not to worry about length extension attacks
and possibly any number of issues that I'm not presently aware of.
Also fix a potential Unicode encoding problem.
1 file changed with 33 insertions and 23 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)