Skip to content

Commit

Permalink
Update drizzle-orm.md (#1742)
Browse files Browse the repository at this point in the history
  • Loading branch information
Boby900 authored Nov 8, 2024
1 parent a5b631a commit d64cd44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/sessions/basic-api/drizzle-orm.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "Sessions with Drizzle ORM"

# Sessions with Drizzle ORM

Users will use a session token linked to a session instead of the ID directly. The session ID will be the SHA-256 hash of the token. SHA-256 is a one-way hash function. This ensures that even if the database contents were leaked, the attacker won't be able retrieve valid tokens.
Users will use a session token linked to a session instead of the ID directly. The session ID will be the SHA-256 hash of the token. SHA-256 is a one-way hash function. This ensures that even if the database contents were leaked, the attacker won't be able to retrieve valid tokens.

## Declare your schema

Expand Down

0 comments on commit d64cd44

Please sign in to comment.