Finding encrytion algorithm