Split get digest, cipher, key, and mac ids into separate functions.
Simplified DigestMain to pass Tcl objects to get functions.
Pass mac id to functions.