Pseudo-random token generation

Hi! Is there some kind of utility in ServiceStack to generate pseudo-random token / nonce?

Thank you.

Have a look at CryptUtils.cs for built-in Crypto Utils inside ServiceStack, e.g. you can use AesUtils.CreateIv() to generate secure random bytes.

If you just want a random string you can use SessionExtensions.CreateRandomBase64Id() or SessionExtensions.CreateRandomSessionId() which returns a Base64 encoded string of 15 random bytes.

I will go for the SessionExtensions.CreateRandomSessionId() method!
Thank you very much!