This is one such link containing some examples of ink! contracts from parity's repo : https://github.com/paritytech/ink-examples/blob/main/rand-extension/lib.rs
Is there a way to call a custom function from a library, say a cryptographic library from the ink contract?
How to go about doing this?
I tried to add all the code I had from the library inside the ink! contract and it could work, but it is one heck of a tedious task and I don't think it is the correct way either.