Overview of @hapi/iron
master@hapi/iron is a library for creating encapsulated tokens. These tokens are objects that have been both encrypted and protected with a Message Authentication Code (MAC) to ensure both confidentiality and integrity.
While it is part of the hapi ecosystem and designed to work seamlessly with the hapi web framework, it is a standalone module that can be used with any other web framework or in any Node.js environment.