PassphraseConstraints

constructor(minLength: Int, maxLength: Int, requireNumerical: Boolean)

Parameters

minLength

the minimum allowed length of the passphrase.

maxLength

the maximum allowed length of the passphrase.

requireNumerical

if true, each character in the passphrase must be decimal digits (0-9).