Use kpabeUse enc and dec. Need to check correctness