I am using grails 2.3.0 and am facing a strange problem when encoding a password with spring security:
This is my method for encoding a password:
String encodePassword(String password) { return springSecurityService.encodePassword(password) }
and using this
log.debug encodePassword("mkb") log.debug encodePassword("mkb") log.debug encodePassword("mkb")
I encode the same password several times, and every time I get different encoded passwords.
magazines:
$2a$10$h8T4BxgOeozmH/VSPJl7NeTaF2P0iONpSdqDN7dDFFAG.sy8WG/8K $2a$10$a7qybaiLF/eNrTSwFohjkezNaJTTDdMEinRYKjxDzEt.OoxaIgFOu $2a$10$nZVhUT0QTmmbtt22CPtM..cLxU252RGBIMkd5aSd2AFXNTNLQ./6u
source share