You can call CryptoUtil.encrypt(..) to encrypt and encode a string.
Likewise, you can use CryptoUtil.decrypt(..) to decode and decrypt an
encrypted value.
http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/stripes/util/CryptoUtil.html
On Tue, Apr 10, 2012 at 11:58 AM, Chut Yee <yeec...@gmail.com> wrote:
> Another question:
> I would like use the Stripes.EncryptionKey configured in StripesFilter to
> do
> encryption. It is possible to get hold of it?
>
> Or - what is the best way to specify an encryption key at runtime? A
> property
> file seems to be an overkill here.
>
> Thanks,
> Chut
>
>
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users