DId most of the setup for the encryptor