blog: add basic function mask_pfx

Signed-off-by: Junwei Zhang <junwei.zhang@6wind.com>