Added backend check to cipher primitives
Style nitpick
Merge pull request #806 from Ayrx/add-backend-check-to-cipher

Added backend check to cipher primitives