<PackageReference Include="BouncyCastle.Cryptography" Version="2.2.1" />

SCrypt

public class SCrypt
Implementation of the scrypt a password-based key derivation function.
public SCrypt()

public static byte[] Generate(byte[] P, byte[] S, int N, int r, int p, int dkLen)

Generate a key using the scrypt key derivation function.