Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for extractInspectV1 (0.06 sec)

  1. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. docs/debugging/inspect/main.go

    			if err != nil {
    				fatalErr(err)
    			}
    		}
    		output, err := os.Create(outputFileName)
    		fatalErr(err)
    		msg := fmt.Sprintf("output written to %s", outputFileName)
    		err = extractInspectV1(*keyHex, input, output, msg)
    		output.Close()
    	case len(privateKeys) != 0:
    		outputFileName := strings.TrimSuffix(outputFileName, ".zip")
    		err = extractInspectV2(privateKeys, input, outputFileName)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top