change Crypt class with SecurityFactory. Update doc