Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DecodeCmd = &cmd.Command{
Name: "she-decode",
Run: runDecode,
Brief: "Decode M1,M2,M3,M4,M5 to JSON input",
Usage: `Usage: pocryp she-decode [hex_string]
Decode the M1,M2,M3,M4,M5 given as a hex string to its JSON form.
If no argument given, stdin will be read.
`,
}
View Source
var EncodeCmd = &cmd.Command{
Name: "she-encode",
Run: runEncode,
Brief: "Encode JSON input to M1,M2,M3,M4,M5",
Usage: `Usage: pocryp she-encode [input.json]
Encode the given JSON input file to M1,M2,M3,M4,M5.
If no argument given, stdin will be read.
`,
}
View Source
var ExampleCmd = &cmd.Command{
Name: "she-example",
Run: runExample,
Brief: "Print example JSON input",
Usage: `Usage: pocryp she-example
Print example JSON input to stdout.
`,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.