Specification
Message & Key Encoding
All values send between client and server e.g. registrationResponse, startLoginRequest are Base64 encoded strings. The encoding is done using the base64 crate (opens in a new tab) using the URL and filename safe alphabet as described here in RFC3548 (opens in a new tab).
Same goes for all keys e.g. exportKey or sessionKey.