Security level of a libreoffice macro and sheet passwords?

Hi, I would like to know how secure is a macro protected by a password for macro.
The document is not protected, but the macro yes, it is.
Is it easy in such a case to break the protection and see the code?
Also, is it easily broken the protection of a password protected sheet?
I understand the protection for an entire libreoffice file is very hard, as it is strongly ciphered, but what about the protection of macros and particular sheets?
Can yo protect your code in libreoffice?

Is there a difference if the libreoffice document is password protected, the user knows this general password, but he doesn’t know the particular sheet or macro password?

Ok, I’ve found in this forum the answer to the question about protected sheets. THEY ARE EASY TO UNPROTECT as explained in:
https://wiki.documentfoundation.org/Faq/Calc/How_to_remove_a_Password_Protected_Sheet_Flag

And I’m imagining the same fate is awaiting for macros protected by passwords. Do I imagine well?