✍️
Web Application
  • Cookie
  • Intro
    • HTTP
  • Cookie
    • Counting Cookie
    • Shopping Cart Using Cookie
    • Shopping Cart Page:id
    • Shopping Cart Page
    • Cookie and Security
  • Session
    • Intro
    • Session and Cookie
    • Session with Express
    • Login function using session
    • How to store session data
    • store as file
    • store in mysql DB
    • Store Session in OrientDB
  • Security Password
    • salt
    • PBKDF2
    • Log in with encrypted password
    • PassportJS
    • Untitled
  • Federation Authentication
    • Intro
    • Facebook Authentication
    • FB Auth Summary
  • refactoring
    • template engine : pug extends, include
    • Modularity
    • Divide Router
Powered by GitBook
On this page

Was this helpful?

  1. Security Password

salt

원래의 비밀번호를 알기 어렵게 하는 보안 방법 중 'salt'가 있다. 기존의 비밀번호에 특수한 문자열을 더한 것을 암호화하여 만든다.

사용자마다 다른 salt를 적용한다.

이러한 salt를 적용하여 비밀번호를 암호화하더라도 어떠한 사용자들의 비밀번호가 같다면 동일한 비밀번호와 salt가 적용되면 한 명의 사용자의 비밀번호가 노출되면 같은 비밀번호를 사용하는 다른 사용자의 비밀번호도 노출되기 때문에 사용자마다 다른 salt를 적용한다. 같은 비밀버호일지라도 다른 salt를 적용하면 다른 해시값을 갖게 된다.

PreviousStore Session in OrientDBNextPBKDF2

Last updated 4 years ago

Was this helpful?