Converts a buffer to a mnemonic phrase using the BIP39 algorithm.
MyBuffer is Buffer = HexaToBuffer("0123456789ABCDEF")
// contains "abreuver barrage espèce associer pointe véhicule"
// contains "abuse boss fly battle rubber waste"
// contient "abuelo azul filtro arte prueba vengar"
<Result> = BufferToPhrase(<Buffer to use> [, <Dictionary>])
<Result>: Character string
<Buffer to use>: Buffer
Buffer that will be used to generate the mnemonic phrase. The size of the buffer (in bytes) must be a multiple of 4 and less than or equal to 32.
<Dictionary>: Optional character string or integer constant
BIP39 dictionary to use. The words used in the mnemonic phrase will be taken from this dictionary. This parameter can correspond to:
If this parameter is not specified, the function will use the BIP39 dictionary that corresponds to the current language in the executable (defined with Nation, for example).
- the path of the BIP39 file to use.
- a constant that specifies which dictionary will be used:
|languageEnglish||Uses the English BIP39 dictionary provided with the product. |
|languageFrench||Uses the French BIP39 dictionary provided with the product. |
|languageSpanish||Uses the Spanish BIP39 dictionary provided with the product. |
If no dictionary is found, English will be used.
BIP39 dictionaries are not equivalent to standard language dictionaries. Their construction follows precise rules. It is recommended to use the BIP39 dictionaries included in the product (French, English, Spanish).
Business / UI classification: Business Logic