justbk2015 commented on pull request #11440: URL: https://github.com/apache/shardingsphere/pull/11440#issuecomment-884680505
> I don't see any key to use to encrypt or decrypt. Does it mean that there is no key for password encryption. the key is variable named secretBytes which generate by SecureRandom, in 16 bytes. we use this key to encrypt password, and saved as base64 string in encrypt function return; in decrypt, we first extract key and iv from base64string and run aes to decrypt the password plaint text. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
