Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DEFAULT_MNEMONIC_LENGTH uint = 24
View Source
var PadCmd = &cli.Command{ Name: "pad", Usage: "Generate a one-time-pad encoded key", Flags: []cli.Flag{ &cli.UintFlag{ Name: "words", Value: DEFAULT_MNEMONIC_LENGTH, Usage: "Number of words in the mnemonic phrase to encrypt", Action: func(ctx *cli.Context, v uint) error { if v > math.MaxUint16 { return fmt.Errorf("Flag words value %v out of range[0-%d]", v, math.MaxUint16) } return nil }, }, }, Action: handleGenerateCommand, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.