private byte[] signature;
private byte[] messageHash;
private byte[] b;
private byte[] seed;
private int seedCount;
<BUG>private MessageDigest sDigest;
public WOTSPlusXMSS(int w, String hash, byte[] seed) {</BUG>
try {
digest = MessageDigest.getInstance(hash);
this.sDigest = MessageDigest.getInstance("SHA-256");

private byte[] signature;
private byte[] messageHash;
private byte[] b;
private byte[] seed;
private int seedCount;
private MessageDigest sDigest;
private OTSHashAddress otsAdrs;
public WOTSPlusXMSS(int w, String hash, byte[] seed) {
try {
digest = MessageDigest.getInstance(hash);
this.sDigest = MessageDigest.getInstance("SHA-256");
