PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
New WINDEV, WEBDEV and WINDEV Mobile 26 feature!
  • BIP39 dictionaries
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
PhraseToBuffer (Function)
In french: PhraseVersBuffer
Returns the buffer encoded in a BIP39 mnemonic phrase.
Example
// Decodes the mnemonic phrase to get the buffer
 
sPhraseFR is string = "abreuver barrage espèce associer pointe véhicule"
Trace(BufferToHexa(PhraseToBuffer(sPhraseFR)))
// contains 01 23 45 67 89 AB CD EF
 
sPhraseEN is string= "abuse boss fly battle rubber waste"
Trace(BufferToHexa(PhraseToBuffer(sPhraseEN)))
// contains 01 23 45 67 89 AB CD EF
 
sPhraseSP is string = "abuelo azul filtro arte prueba vengar"
Trace(BufferToHexa(PhraseToBuffer(sPhraseSP)))
// contains 01 23 45 67 89 AB CD EF
Syntax
<Result> = PhraseToBuffer(<Phrase> [, <Dictionary>])
<Result>: Buffer
Buffer encoded in the phrase.
<Phrase>: Character string
Phrase generated by a BIP39 algorithm. The words in this phrase should be separated by spaces. A BIP39 phrase must contain a number of words that is a multiple of 3, and less than or equal to 24.
<Dictionary>: Optional character string or integer constant
File path corresponding to the BIP39 dictionary to be used. This dictionary is used to identify the words of the phrase and to get their index.
If this parameter is not specified, the function will determine which of the dictionaries included in the product should be used (French, English or Spanish).
Remarks

BIP39 dictionaries

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).
Component : wd260std.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment