Created
January 19, 2013 08:49
-
-
Save nassimhaddad/4571494 to your computer and use it in GitHub Desktop.
digest package to create hash from any r object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(digest) | |
test <- c("hobe", "jmjj", 1) | |
digest(test, algo = "md5") | |
digest(test, algo = "sha1") | |
digest(test, algo = "crc32") # not collision proof | |
digest(test, algo = "sha256") | |
digest(test, algo = "sha512") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment