mystic-crypt is designed as a Java library that can be used for simple and complex encryption and decryption.
The sourcecode for the library is available under https://github.com/astrapi69/mystic-crypt
For demonstration what the library can do there is a graphical client:
The sourcecode for the ui is available under https://github.com/astrapi69/mystic-crypt-ui
InsecureWebApp is a web app that includes common web application vulnerabilities including SQL&Html Injection- see owasp.org. It is a target for automated and manual penetration testing, sourcecode analysis, vulnerability assessments and threat modeling.