kmaragon / Konscious.Security.Cryptography

MIT License
212 stars 20 forks source link

[Enhancement] Change Argon2 class to ref struct #54

Open Xyncgas opened 1 year ago

Xyncgas commented 1 year ago

Change Argon2 class to ref struct, so it takes a ReadOnlySpan of bytes and do whatever computation it needs, so it can accept ReadOnlySpan in contructor, which works with byte array, that's currently being passed in