Add method back into encryptor class