It is possible to create a package for cryptolib4pascal and use that in your project. The thing is, it's not very simple (in my opinion). I managed to do it. And documented my way of working here: https://nodato.nl/cryptolib-pascal/. Hope this helps.