dot-shinyslack_encrypt: Encrypt a String If Possible

.shinyslack_encryptR Documentation

Encrypt a String If Possible

Description

Encrypt a String If Possible

Usage

.shinyslack_encrypt(string, shinyslack_key = Sys.getenv("SHINYSLACK_KEY"))

Arguments

string

A length-1 character to encrypt (or decrypt).

shinyslack_key

(optional) A key to use to encrypt the string. If not set, the string is returned unencrypted.

Value

If shinyslack_key is non-empty, the encrypted string. Otherwise the original string is returned.


r4ds/shinyslack documentation built on March 26, 2024, 4:26 a.m.