getattr fully tested for encryption