Create Algorithm class that is parent of Cipher and MD