Skip to content

adam-dalbello/scrts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

scrts

This is a secrets keeper (or password manager). It takes secrets (e.g., passwords; emails; pin numbers) stored as character strings assigned to variables in the global environment and encrypts them with a caeser algorithm. All that needs to be remembered is how to decrpyt.

Languages and Tools:

r  RStudio 



# secret information
x <- 'my'
y <- 'name'



library(caesar)


empty_vector <- vector('list', length(ls()))


for (i in 3:(length(ls()) + 1)) { empty_vector[[i - 2]] <- caesar(get(ls()[i])) }


# keeper
keys <- dplyr::bind_cols(
                            data.frame(
                                          item = ls()[3:length(ls())]
                            ),
                                                              plyr::ldply(empty_vector)
        )

write.csv(keys, 'keys.csv', row.names = FALSE)
read.csv('keys.csv')

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages