Encrypt and Decrypt data inspired by sunitk
Demo application as answer for SO-question
- creates foo and bar on startup
- localhost:8080/foobar/1
- localhost:8080/foo/1
- localhost:8080/bar/1
localhost/h2-console to see 'encrypted' data:
- user: sa
- password:
- JDBC URL: jdbc:h2:mem:bar or jdbc:h2:mem:foo