#! /usr/bin/env python3

import sys

def padding(msg, blk_size):
    pad_size = msg % blk_size
    if pad_size == 0:
        pad_size = blk_size
    return msg + bytes(pad_size) * pad_size

d62c165c07f3b649d59945f468f4519c442a3b94
<mask token>

<mask token>


def padding(msg, blk_size):
    pad_size = msg % blk_size
    if pad_size == 0:
        pad_size = blk_size
    return msg + bytes(pad_size) * pad_size

import sys


def padding(msg, blk_size):
    pad_size = msg % blk_size
    if pad_size == 0:
        pad_size = blk_size
    return msg + bytes(pad_size) * pad_size

#! /usr/bin/env python3

import sys

def padding(msg, blk_size):
    pad_size = msg % blk_size
    if pad_size == 0:
        pad_size = blk_size
    return msg + bytes(pad_size) * pad_size
