Added interfaces to the crypt algorithms.