zerodha / dotnetkiteconnect

.NET library for Kite connect
MIT License
77 stars 66 forks source link

SHA256Managed class is Obsolete #41

Closed saivineeth100 closed 3 months ago

saivineeth100 commented 3 months ago

SHA256Managed class is Obsolete

image

instead, it is recommended to use SHA256.Create() or in our case we can directly use

 byte[] hash = SHA256.HashData(Encoding.UTF8.GetBytes(Data))

in place of

https://github.com/zerodha/dotnetkiteconnect/blob/e611d22044b208c539bdb510919ba1aa9d9369a6/KiteConnect/Utils.cs#L194-L196

ajinasokan commented 3 months ago

Available in v4.3.0