Oh wait, there is also this tool which automates some of that. I think I used that tool instead of the blog article itself. It's the same idea though.
https://github.com/osx-tools/asahi-encrypt