xray: print block offsets

This commit is contained in:
Jakob Unterwurzacher 2016-09-29 22:13:26 +02:00
parent a2510efe12
commit b7be386e46
1 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,7 @@ func main() {
} else if err != nil {
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)
}
}