defaults
Provides sane defaults for use in DiscreteCrypt.js applications
Static Method Summary
Static Public Methods | ||
public static |
This Scrypt Configuration should be applied when the keys are ephemeral. |
|
public static |
Returns the default parameters of DiscreteCrypt.js. |
|
public static |
This Scrypt configuration is the default recommended scrypt configuration. |
|
public static |
Should be applied for performance reasons when the author is willing to accept slightly reduced security for performance reasons. |
Static Public Methods
public static ephemeralScrypt(): Object source
This Scrypt Configuration should be applied when the keys are ephemeral.
public static scrypt(): Object source
This Scrypt configuration is the default recommended scrypt configuration. This is for securing highly sensitive data in worst case conditions.
public static tunedScrypt(): Object source
Should be applied for performance reasons when the author is willing to accept slightly reduced security for performance reasons.
This can securely be applied in situations where password input is reasonably decent.
Consider it a healthy middle ground between the default (top-secret) and ephemeral.