0

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?

4
  • What custom algorithm do you want to use specifically? What have you tried in furtherance of this aim? Commented Apr 28, 2015 at 16:00
  • ok, so i have an app to develop but in my case the table of users already exists( the whole db exists) password column is encoded using a custom algorithm written in java , in order to use FOSUserBundle I have to use this same algo (written in php)to encode passwords how exactly can i do this in symfony 2 Commented Apr 28, 2015 at 16:05
  • But the kind of algorithm (Bcrypt, Sha512, etc) used by the Java program is secret? Commented Apr 28, 2015 at 16:21
  • stackoverflow.com/questions/7878887/… Commented Apr 28, 2015 at 20:05

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.