StaticnewStaticrandomCreate a new random nonce (alias for compatibility).
StaticfromStaticfromStaticfromStaticfromStaticrandomGet the data of the nonce.
Get the nonce as a byte slice.
Get the raw nonce bytes as a copy.
The data as a hexadecimal string.
Get hex string representation (alias for hex()).
Get base64 representation.
Get string representation.
Returns the CBOR tags associated with Nonce.
Returns the untagged CBOR encoding (as a byte string).
Returns the tagged CBOR encoding.
Returns the tagged value in CBOR binary representation.
StaticfromStaticfromStaticfromReturns the UR representation of the Nonce. Note: URs use untagged CBOR since the type is conveyed by the UR type itself.
Returns the UR string representation.
StaticfromStaticfrom
Create a new random nonce.