Does encryption work on ".doc" files?

LO file encryption works for .odt files, but does it work the same for .doc files?