hapijs / hapijs/hapi

typo on iron introduction page

Open
#4,367 1 comment 0 reactions 0 assignees View on GitHub
documentation
Dominant language
JavaScript
Stars
14.8k
Forks
1.4k
Avg merge
22d 3h
Merged PRs (30d)
1

Description

#### Context

I think there is an typo on explaning the seal process.

pagelink : https://hapi.dev/module/iron/#introduction

The example said mac the encrypted object with **salt E** and iv.

Following the iron code linked below, HACM key(**Key I**) is used to make mac instaed of salt E. So if I understood correctly, the sentence should be mac the encrypted object along with KeyI and iv.

https://github.com/hapijs/iron/blob/62e00b64bd405a2c8bc773328774da9f7cc92d3c/lib/index.js#L229

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.