fixed some namespace issues
adding secure padding for the CBC MAC and tests for it.