fido2.utils
Various utility functions.
This module contains various functions used throughout the rest of the project.
Functions
|
Produces a SHA256 hash of the input. |
|
Performs an HMAC-SHA256 operation on the given data, using the given key. |
|
Parses an arbitrarily sized integer from a byte string. |
|
Encodes an int as a byte string. |
|
Decodes a websafe-base64 encoded string. |
|
Encodes a byte string into websafe-base64 encoding. |
Module Contents
- fido2.utils.hmac_sha256(key, data)[source]
Performs an HMAC-SHA256 operation on the given data, using the given key.