This value is optional, so if unset it will just fallback to Parameters.HashSizeBytes as the default.
I worked around this locally by calling directly in to SrpInteger.RandomInteger() in my code, but it reads much better to be able to do something like:
I'm working with an SRP implementation that uses a custom salt length that differs from
HashSizeBytes
. Other SRP implementations (e.g. python) allow this. (source: https://github.com/cocagne/pysrp/blob/master/srp/_pysrp.py#L224).This value is optional, so if unset it will just fallback to
Parameters.HashSizeBytes
as the default.I worked around this locally by calling directly in to
SrpInteger.RandomInteger()
in my code, but it reads much better to be able to do something like: