Add and test Cipher::getAlgorithms and Digest::getAlgorithms