Skip to content

cuba-labs/db-data-encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sensitive data encryption demo

Key files:

  1. com.company.demo.entity.CreditCard - entity that contains two properties: secretValue and decryptedValue. The first is stored to DB, the second is used on UI.
  2. com.company.demo.listener.CreditCardEntityListener - implements automatic encryption/decryption of data

Note: CreditCardEntityListener uses constant secret key, but in the real world you have to keep your secret key in a reliable source, not in your DB and it cannot be constant.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages