I want to use a custom algorithm for encoding user passwords (custom password encoder), any way to do that? I am using symfony 2.6.6 with FOSUserBundle 2.dev.
More detail: I have an app to develop but in my case the table of users already exists (the whole database exists) password column is encoded using a custom algorithm written in Java, in order to use FOSUserBundle I have to use this same algorithm (written in PHP) to encode passwords. How exactly can I do this in Symfony?