Skip to content

Blowfish Encryption

Raikkonen edited this page Oct 27, 2021 · 1 revision

Because Blowfish only supports encrypting 8 bytes of data at once, it is necessary to pad data (with NULs) that is not a multiple of 8 bytes. When receiving encrypted data from FLHook, you should check for null characters and remove them from the decrypted string. When sending encrypted data to FLHook, you should pad the string with null characters if necessary. If the Blowfish implementation you are using specifically encrypts and decrypts strings, this may already be handled by it.

Clone this wiki locally