Thank you Nicolas! Agree better to use StringBuilder here. Cheers,
-----邮件原件----- 发件人: Nicolas Malin [mailto:nicolas.ma...@nereide.fr] 发送时间: 2016年12月5日 16:44 收件人: dev@ofbiz.apache.org 主题: Re: svn commit: r1772589 - in /ofbiz/trunk/framework: base/src/main/java/org/apache/ofbiz/base/crypto/HashCrypt.java security/config/security.properties security/data/PasswordSecurityDemoData.xml security/entitydef/entitymodel.xml hello Shi I think it's better to use a StringBuilder to build this. Cheers, Nicolas Le 05/12/2016 à 02:32, sh...@apache.org a écrit : > + return pbkdf2Type + "$" + PBKDF2_ITERATIONS + "$" + salt + "$" + > new String(hash);