feat(token): add support for encrypted tokens