issue # 회원가입 로직 구현 완료

This commit is contained in:
민건희
2025-11-23 23:02:45 +09:00
parent 8303a8ab19
commit dce509bad9
15 changed files with 1108 additions and 35 deletions

View File

@@ -0,0 +1,11 @@
import bcrypt from 'bcrypt';
export class Converter {
static getHashedPassword(password: string) {
return bcrypt.hashSync(password, 10);
}
static comparePassword(rawPassword: string, hashedPassword: string) {
return bcrypt.compareSync(rawPassword, hashedPassword);
}
}