I need to pass a CakePHP code to Java. One part of that is find a way to encrypt and decrypt some cards number.
In cakePHP use Cast-256 (http://es.wikipedia.org/wiki/CAST-256) . Im finding a Cast-256's implementation on Java but im not geeting goods news.
I find in a post (https://forums.oracle.com/thread/1532311?tstart=4680) i should use that library org.bouncycastle. But i cant find a example of howto.
The question is:
You know a way of encrypt and decrypt information with Cast-256 in Java?
Show me one example.
Thanks