Lidgren.Network.Authentication NetSRP.CalcK in C# (CSharp): 2 esempi trovati. Questi sono i migliori esempi reali in C# (CSharp) per Lidgren.Network.Authentication.NetSRP.CalcK, estratti da progetti open source. Li puoi valutare, per aiutarci a migliorare la qualità dei nostri esempi.
Returns 32 byte array using SHA256 one-way hash of value S. RijndaelManaged, for example can use max key of 32 bytes directly, so this is convienent. If you need more or less entropy, add or subtract bytes as required. Naturally, both sides need to be able to generate the same key bytes. It is recommended to just use the 32 bytes as returned from this method.