chore(masquerade): use encrypt/decrypt functions of the kernel