Intrinsic encryption function

Does Xojo have an intrinsic encryption function or property that will turn a string of text into garbage or something unreadable, or do you have to brew your own?

Look at the Crypto method

Many thanks jim. Maybe I should have taken the time to read the docs instead of being lazy.

I am just using it and see that when I put a string 86 characters into a memoryblock and encrypt it with a public key, it works fine.
When I put a string of 87 characters in the same memoryblock, it raises a CryptoExeption. So far, I could not find it’s restrictions in the language reference or other documents. Can anybody help me ?