- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for extractInspectV1 (0.1 sec)
-
docs/debugging/inspect/decrypt-v1.go
package main import ( "encoding/binary" "encoding/hex" "fmt" "hash/crc32" "io" "github.com/secure-io/sio-go" ) func extractInspectV1(keyHex string, r io.Reader, w io.Writer, okMsg string) error { id, err := hex.DecodeString(keyHex[:8]) if err != nil { return err } key, err := hex.DecodeString(keyHex[8:]) if err != nil { return err
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 11 21:22:47 UTC 2024 - 1.6K bytes - Viewed (0) -
docs/debugging/inspect/main.go
output, err := os.Create(outputFileName) fatalErr(err) // Decrypt the inspect data msg := fmt.Sprintf("output written to %s", outputFileName) switch { case *keyHex != "": err = extractInspectV1(*keyHex, input, output, msg) case len(privateKey) != 0: err = extractInspectV2(privateKey, input, output, msg) } output.Close() if err != nil { var keep keepFileErr
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 5.2K bytes - Viewed (0)