how i can find used algorithm
I have a problem and did not know how to resolve it.
I have the encryption tool, so i can generate a file containing for example "secret".
I do not know the encryption algorithm.

How knowing the word "secret" and being sure of its existence in the file, find the algorithm (one of the standard one)

You need to reverse engineer the binary to find out