Bouncy Castle SCrypt 实施是否包括结果中的因素?

Does the Bouncy Castle SCrypt implementation include the factors in the result?

我很确定它没有,但我想确认 Java、SCrypt.generate() 的 Bouncy Castle 中的 SCrypt 实现是否包含结果中的参数(如实现对于 NodeJS 确实如此)。

No Bouncy castle 不包含它们在结果中,但如果你想要类似的结果,你可以使用 SpringFramework SCrypt。

import org.bouncycastle.crypto.generators.SCrypt;
public static void ScryptSpringFramework()
{   
    public static String plaintextPassword  = "myname123456";
    SCryptPasswordEncoder sEncoder = new SCryptPasswordEncoder();

    String str1 = sEncoder.encode(plaintextPassword);
    System.out.println("SpringFramework output of "+plaintextPassword+" = "+str1);              
}

Here is the link for the SpringFramework crypto.