inst/doc/encrypt_example.R

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

## ----setup--------------------------------------------------------------------
library(deident)

## -----------------------------------------------------------------------------
name_pipe <- starwars |> 
  add_encrypt(name, hash_key = "hash123", seed="seed456")

apply_deident(starwars, name_pipe)

Try the deident package in your browser

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

deident documentation built on April 3, 2025, 6:14 p.m.