fixed padding
finding failure for encryption quickcheck