xray: print block offsets
This commit is contained in:
parent
a2510efe12
commit
b7be386e46
@ -80,6 +80,7 @@ func main() {
|
|||||||
} else if err != nil {
|
} else if err != nil {
|
||||||
errExit(err)
|
errExit(err)
|
||||||
}
|
}
|
||||||
fmt.Printf("Block %2d: IV: %s, Tag: %s, Len: %d\n", i, hex.EncodeToString(iv), hex.EncodeToString(tag), blockLen)
|
fmt.Printf("Block %2d: IV: %s, Tag: %s, Offset: %5d Len: %d\n",
|
||||||
|
i, hex.EncodeToString(iv), hex.EncodeToString(tag), off, blockLen)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user