해쉬용 모듈
bcrypt
bcrypt.hash
const password = await bcrypt.hash(this.password, 5);
bcrypt.compare
const isPasswordSame = await bcrypt.compare(password, user.password); if (!isPasswordSame) { ... }