Payload [HTTP] http에 대하여 - 인증/인가 (1) 마침 오늘 오전 인증/인가 관련 세션이 진행되어 이어서 내용 정리해본다. 로그인을 하면, 나는 상품을 구매할 수 있다. 내 비밀번호는 중요한 개인정보이기 때문에 서버는 그대로 저장하지 않고 암호화 작업을 거친 후 저장한다. 이 때 hash 함수가 사용된다. 원본 메세지를 알면 digest는 알 수 있음 하지만 digest를 알아도 원본 메세지는 알 수 없음 하지만 hash 함수도 결국 dig... 인가bcryptBackendPayloadJWT인증TokenhttpBackend [CS] Token Day-84 Session authentication is cost by the server, while token authentication is cost by the client. What is Token? Tokens used in the arcade Token authentication was invented as a way to pay for the client. If the client has... JWT TypeheaderJWT StructurePayloadsignatureToken authenticationJWTTokenJWT
[HTTP] http에 대하여 - 인증/인가 (1) 마침 오늘 오전 인증/인가 관련 세션이 진행되어 이어서 내용 정리해본다. 로그인을 하면, 나는 상품을 구매할 수 있다. 내 비밀번호는 중요한 개인정보이기 때문에 서버는 그대로 저장하지 않고 암호화 작업을 거친 후 저장한다. 이 때 hash 함수가 사용된다. 원본 메세지를 알면 digest는 알 수 있음 하지만 digest를 알아도 원본 메세지는 알 수 없음 하지만 hash 함수도 결국 dig... 인가bcryptBackendPayloadJWT인증TokenhttpBackend [CS] Token Day-84 Session authentication is cost by the server, while token authentication is cost by the client. What is Token? Tokens used in the arcade Token authentication was invented as a way to pay for the client. If the client has... JWT TypeheaderJWT StructurePayloadsignatureToken authenticationJWTTokenJWT