get Mnemonic Strength
Gets the strength level of a mnemonic phrase based on its word count.
Return
Strength level, or null if the word count is not valid (12, 15, 18, 21, or 24)
Example:
val strength = MnemonicUtils.getMnemonicStrength(
"illness spike retreat truth genius clock brain pass fit cave bargain toe"
)
// strength is MnemonicStrength.BITS_128 (12 words = 128 bits)Content copied to clipboard
Parameters
mnemonic
Space-separated mnemonic phrase