Block padding utilities for Go