|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||Encryption and Hash||MBS Encryption Plugin||Yes||Yes||Yes||Yes||No|
Fixed with version 8.1 to work on 64-bit.
This class is kept for compatibility. On new projects please use the blowfishMBS class which offers more options. And two easy usable shared methods to quickly encrypt and decrypt.
Create a EncryptMBS Object using "e=new EncryptMBS". Then initialize it with your password using "e.init(password)". Now you can call Encode and Decode to get your data encrypted.
The GetKey function is only for you to verify if it is working correctly. For the same password, you should always get the same key and the same result for the same data.
The data length must be aligned to 8 bytes for best results.
e.g. "Hello World!" has a length of 12 bytes and the encode function will only do the first 8 bytes.
The result on Mac and Windows is not the same!
See also AESMBS class and BlowfishMBS class.
- 4 methods
This class has no sub classes.
Some examples which use this class:
The items on this page are in the following plugins: MBS Encryption Plugin.
MBS Xojo Plugins