Excel's File Encryption

Hi All,

Someone know if is there a way to encrypt an Excel file with RS/Xojo …?

AES? Blowfish? something else?

Hi Christian,

With Blowfish …

It’s possible…?

sure like this:

[code]dim fi as FolderItem = SpecialFolder.Desktop.Child(“test.xojo_binary_project”)
dim fo as FolderItem = SpecialFolder.Desktop.Child(“test.encrypted”)

// read input
dim bi as BinaryStream = BinaryStream.Open(fi)
dim si as string = bi.Read(bi.Length)

// encrypt
dim so as string = BlowfishMBS.Encrypt(“MyKey”,si)

// write output
dim bo as BinaryStream = BinaryStream.Create(fo)
bo.Write so


Really thanks !

Works great!