Skip to content

Commit

Permalink
Fix a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nexryai committed Dec 24, 2024
1 parent 830f949 commit 064fbe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/server/services/AuthService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ interface ChallengeTokenClaims extends TokenClaims {
/*
AuthService provides methods to generate and verify tokens for authentication and challenge.
This class is designed to be stateless and does not depend on any external services.
Tokens are encrypted with AES-256-GCM.
Tokens are encrypted with AES-256-CBC and authenticated with HMAC-SHA384.
*/
abstract class AuthService {
private readonly secretKey = crypto.randomBytes(32);
Expand Down

0 comments on commit 064fbe8

Please sign in to comment.