Skip to content

Xojo Blog Posts

Passport to XDC

We’re sure you have April 21-23, 2021 marked in your calendar for the first Xojo Developer Conference in London! With registrations nearly at 50% capacity, we can tell that a lot of you are as excited as we are! Of course, for many of us, it’s hard to imagine that the state of the world will be such that we can travel internationally in just 8 months time. As I have mentioned in several of the Xojo Hangouts recently, I am very hopeful that things will get better soon and that we can gather safely to have an amazing conference. But anything is possible at this point.

Comments closed

Code Tip: How to Implement the ARC4 Encryption Algorithm

ARC4 is a symmetric encryption algorithm fast and easy to implement. Being symmetric does means that it uses the same function with the same key (varying from 40 to 2048 bits) both for cyphering and de-cyphering a block of data.

Is it the most secure or robust encryption algorithm around? Not really. But it provides a good amount of performance and you can take further steps in order to correct some of its flaws. So, continue reading if you are interested in having this one in your developer toolset implemented as a Class with separate methods to encrypt and decrypt a block of information (even if it uses the same function in both cases).

Comments closed

Quick Tip: Centering a Picture on any Graphic Context

Sure you can create a Subclass of any Picture, Canvas or class and write code to center another Picture in its respective Graphics contexts. But taking the class extension approach means that you can reuse the same code for any of these (or any additional class) offering a Graphic context, so you can pass along the Picture you want to center and re-scale (if needed) in its area.

Comments closed