hapijs / iron

Encapsulated tokens (encrypted and mac'ed objects)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Encrypting regular String

ruiquelhas opened this issue · comments

I was planning to use iron to encrypt/decrypt regular String values (not JSON), and since there is no explicit mention of it in the docs or an explicit test for it, I was wondering if there is any caveat or security implication of doing it?

You can seal and unseal any value that can be JSON.stringify()ed

commented

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.