Hash
를 이용하여 암호화
평문을 암호화할순 있지만, 복호화는 불가능
데이터의 진위여부는 확인하고 싶으나, 본 데이터의 Privacy 를 지키고 싶은 경우 사용
데이터가 동일한지 확인할 수는 있음
실제 데이터의 값이 필요하지는 않은 경우에 사용
ex) Bcrypt-JWT (참고:
인증(Authentication) & 인가(Authorization)
)
hash 할 때, hash 값은 크기와 알고리즘에 따라 암호문의 결과가 완전 상이함
단방향 Hash 알고리즘
https://velog.io/@inyong_pang/Programming-암호화-알고리즘-종류와-분류