NOTE: the latest version is 1.1.2
https://github.com/google/google-authenticator/wiki/Key-Uri-Format#algorithm
Currently, the algorithm parameter is ignored by the Google Authenticator implementations.
Default is SHA1
We need this function to route calls between underlying libraries
because ktonon/elm-crypto does not support SHA1
Function to resolve the Algorithm from a String value.
Algorithm
String
This is useful when working with HTML inputs, allowing users to choose which algorithm to use.
String representation of Algorithm value
https://github.com/google/google-authenticator/wiki/Key-Uri-Format#algorithm
Currently, the algorithm parameter is ignored by the Google Authenticator implementations.
Default is SHA1