adds cipher, encrypt method