Technical Notes

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

General Technical Notes

The encryption technique in this package is XChaCha20-Poly1305 which is the extended nonce variant of the ChaCha20-Poly1305 technique used in IPsec, SSH and Wireguard.

The encryption method follows RFC 8439 'Authenticated Encryption with Additional Data (AEAD)'

File structure

The data structure is a concatenation of the nonce, mac and encrypted data

Included Cryptographic Libraries

The package relies on the cryptographic algorithms supplied by monocypher



Try the rmonocypher package in your browser

Any scripts or data that you put into this service are public.

rmonocypher documentation built on April 4, 2025, 4:41 a.m.