Skip to content

Commit

Permalink
use sha256 in place of sha1
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <[email protected]>
  • Loading branch information
mcollina committed Apr 22, 2024
1 parent a94dfbb commit 8de9b8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ module.exports = class Session {
})

return crypto
.createHash('sha1')
.createHash('sha256')
.update(str, 'utf8')
.digest('hex')
}
Expand Down

0 comments on commit 8de9b8a

Please sign in to comment.