System.arraycopy(part1, 0, w, w.length - (k + 1) * part1.length,
part1.length);
}
add(part1, seed, offset + n);
sha1.update(part1, 0, part1.length);
sha1.doFinal(part1, 0);
System.arraycopy(part1, part1.length - ( (w.length - (n) * part1.length)),
w, 0, w.length - n * part1.length);
w[0] |= (byte) 0x80;