Implements a simple factory interface for fetching hmac implementations, or for finding the key lengths for hmac implementations.s
MAP | = | { 'hmac-md5' => MD5, 'hmac-md5-96' => MD5_96, 'hmac-sha1' => SHA1, 'hmac-sha1-96' => SHA1_96, 'none' => None | The mapping of SSH hmac algorithms to their implementations |
Retrieves a new hmac instance of the given SSH type (name). If key is given, the new instance will be initialized with that key.