1

I have created a template, in which i want to encrypt few details before saving that form to the database. Every other details can be stored as plain text.

Cœur
  • 37,241
  • 25
  • 195
  • 267
ahly212
  • 96
  • 1
  • 9

2 Answers2

2

AES encryption/decryption is incorporated in version 2.1 of Play. If you don't want to use unstable version of framework you'll need to wait for its final publishing or make changes in your version manually. See this Lighthouse's ticket

biesior
  • 55,576
  • 10
  • 125
  • 182
1

First of all Ebean support Encryption, so perhaps this solves your problem. Furthermore feel free to use my Crypto-Implementation, it quite easy.

niels
  • 7,321
  • 2
  • 38
  • 58
  • i think you can't use Ebean encrypting because you can't set advanced setting for Ebean in play 2.0. at least source : [link](https://play.lighthouseapp.com/projects/82401/tickets/156-add-support-for-ebeanproperties) – Hugo Alves Aug 20 '12 at 08:44