shuffle method

DummyCastle shuffle()

Shuffles randomly characters internally.

param seed - key data used to shuffle return

Implementation

DummyCastle shuffle() {
  if (((resultBytes == null || resultBytes.length == 0))) {
    exception = new Exception("Empty or null");
    error = true;
    return this;
  }
  try {
    resultBytes = PermutClient.shuffle(resultBytes);
  } on Exception catch (e) {
    setUpError(e);
  }
  return this;
}