code: func pad(data []byte, terminator byte) []byte {
  	padded := make([]byte, (len(data)/16+1)*16)
  	copy(padded, data)
  	padded[len(data)] = terminator
  	return padded
  }
docs: // pad applies message padding to a 16 byte boundary.