shiro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NabbleReallySucks <>
Subject Re: Question on hashing and cryptography. Not able to login
Date Thu, 14 Mar 2013 00:57:22 GMT
Thanks. Our code would do 

Key key = cipherService.generateNewKey();

    ByteSource encryptedPassword =
    accountSecurity.setSaltValue(new String(key.getEncoded()));

So I was assuming that each and every saved password would have a different
key anyway. And we would save that key as the salt value.

Our app will be for real money gambling, so it has to pass the standards
committees rules. So I don't think SHA256 is enough to pass. So I guess I
can implement my own matcher that decrypts using the Aes Cipher class.



View this message in context:
Sent from the Shiro User mailing list archive at

View raw message