Note Content 암호화 기능 추가 #112
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
변경 사항
프로젝트 발표회 때 일기 데이터를 어떻게 관리할지에 대해 질문 받은 거 고민하다가 추가한 기능입니다.
Spring Security Crypto와 JPA의 Attribute Converter를 사용해서,
NoteContent.content값을 데이터베이스에 저장할 때는 암호화해서 저장하고, 데이터베이스에서 조회할 때는 복호화해서 가져오도록 했습니다.