low-level library for implementing MAC Access Authentication