*/
public synchronized void setSaltSizeBytes(int saltSizeBytes) {
Validate.isTrue(saltSizeBytes >= 0,
"Salt size in bytes must be non-negative");
if (isInitialized()) {
throw new AlreadyInitializedException();
}
this.saltSizeBytes = saltSizeBytes;
this.useSalt = (saltSizeBytes > 0);
this.saltSizeBytesSet = true;
}