replace the aes lib, way better mem usage, still untested