tests/testthat/test_basic.R

test_that("Simple test of encyption and decryption", {
  keys <- keychain()
  expect_identical(unhide(hide("hello world", keys$pubkey), keys$privkey), "hello world")
})
bfatemi/hider documentation built on May 12, 2019, 7:26 p.m.