build table a bit more obviously
fix hex decoding
do aes decode of test data