Encryption support (partial)