decodeChallenge function

Uint8List decodeChallenge(
  1. String nonce
)

Decodes a wire nonce back to its raw bytes.

Implementation

Uint8List decodeChallenge(String nonce) =>
    Uint8List.fromList(base64.decode(nonce));