dot-shinyslack_decrypt: Decrypt a String If Possible

.shinyslack_decryptR Documentation

Decrypt a String If Possible

Description

Decrypt a String If Possible

Usage

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

Arguments

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 decrypted string (or "bad_string" if decryption fails). Otherwise the original string is returned.


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