.NET implementation of scrypt

前端 未结 3 676
长发绾君心
长发绾君心 2021-01-30 03:22

I\'ve read about scrypt and some of its advantages over the bcrypt hashing algorithm in certain circumstances.

Anyhow, it seems scrypt isn\'t as widely used yet. Has an

3条回答
  •  一生所求
    2021-01-30 03:55

    There's a new implementation of SCrypt for .NET here: https://github.com/replicon/Replicon.Cryptography.SCrypt

    Unlike CryptoSharp, which is a great library, this one is implemented as a packaged wrapper around a native library. This allows it to use native-level instructions (like SSE2) to improve the performance of the implementation quite a bit.

    The downside is that it has to contain native compiled assemblies, detect the right one to use, unpackage it, and then load it. That means it's not ideal for all environments, but it works great where it works.

提交回复
热议问题