I opened your link and don't know what it does.
At your (apparent) level of understanding, you're probably better off reaching for a higher-level alternative, possibly even full applications like Age (that let you encrypts files), or Signify (that let you sign files).
> Monocypher is an easy-to-use crypto library.