K
K
kenny1822017-03-04 16:37:53
ASCII
kenny182, 2017-03-04 16:37:53

How to detect random ASCII characters?

You need to load the data of a very large size from a file and process it. There is a possibility that the processed data will contain ASCII text that should not be there. Is there any algorithm to check that the data being processed does not contain text?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Dubrovin, 2017-03-04
@z3apa3a

In the general case, your task is not solved, because in large random data, there is a non-zero probability of finding any row. It all depends on the data, its format and what kind of lines and how they get there.
To identify potential strings in binary text, you can look, for example, at the strings utility from GNU binutils

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question