class Sha256Utils {

  public static String mask(final CharSequence raw) {
    if (null == raw) {
      return null;
    }
    final StringBuilder buffer = new StringBuilder(raw.length());
    for (int i = 0; i < raw.length(); ++i) {
      buffer.append("*");
    }
    return buffer.toString();
  }

}