add sample 2 for block cipher