mastodon has no concept of encrypting user data at all, all user's data is stored unencrypted (including DMs) and accessible to anyone with direct database access on the server