encryption: needed changes to allow encryption