testEventLengthExceedLimitExceptionGUEH static method

dynamic testEventLengthExceedLimitExceptionGUEH(
  1. String password
)

Implementation

static testEventLengthExceedLimitExceptionGUEH(String password) {
  String keyHash = TBLSecurity.getSHA256(password);
  if (keyHash.toLowerCase() != TBLSecurity.FEATURE_PASSWORD.toLowerCase()) {
    print('Taboola testGUEH wrong password $password');
    return;
  }
  String largeString = 'a' * 8100;
  throw Exception(largeString);
}