def strxor_c(term, c):
 expect_byte_string(term)
 if (not (0 <= c < 256)):
  raise ValueError('c must be in range(256)')
 result = create_string_buffer(len(term))
 _raw_strxor.strxor_c(term, c, result, c_size_t(len(term)))
 return get_raw_buffer(result)

def strxor_c ( term , c ) : expect_byte_string ( term ) if ( not ( 0 <= c < 256 ) ) : raise ValueError ( 'c must be in range(256)' ) result = create_string_buffer ( len ( term ) ) _raw_strxor . strxor_c ( term , c , result , c_size_t ( len ( term ) ) ) return get_raw_buffer ( result )
return term xored with a sequence of characters c .