Note: this package is not 100% compatible with the CBOR specification. See the Not implemented section for more details.
This method is used to generate mnemonic. Default number of words is 12 but you can pass a number param if you want to generate more or less.