What is the character limit for an encrypted USB drive password in the Disk Utility?

Is there a character limit for an encryption password when formatting a USB drive such as Mac OS Extended (Journaled, Encrypted) in the Disk Utility? I was able to use a very long password of 65 characters, but I was wondering how much longer I can do it.