}
String message = separator == null ? messageConcatenated.toString() : messageConcatenated.substring(0,
messageConcatenated.length() - 1);</BUG>
byte[] hashed = message.getBytes();
<BUG>if (hashers.containsKey(type)) {

hashers.get(type).update((salt + message).getBytes());

hashed = hashers.get(type).digest();
</BUG>
}

}
public abstract Character separator();
public String hashAndEncode(final RevocationType type, final String... messages) {
StringBuilder messageConcatenated = new StringBuilder();
for (String message : messages) {
messageConcatenated.append(message);
messageConcatenated.append(separator());
}
String message = messageConcatenated.substring(0, messageConcatenated.length() - 1);
byte[] hashed = message.getBytes();
if (hashingAlgorithms().containsKey(type)) {
hashingAlgorithms().get(type).update((salt() + message).getBytes());
hashed = hashingAlgorithms().get(type).digest();
}
