`nonce` is already supposed to be a byte string here and also below. Adding `bstr` is redundant.