This question already has an answer here:
- how to create md5 hash of a column in R? 3 answers
Is there a repeatable one-way hash function in R? I'd use hashlib
in Python:
hashlib.sha224("This is my input").hexdigest()
This question already has an answer here:
Is there a repeatable one-way hash function in R? I'd use hashlib
in Python:
hashlib.sha224("This is my input").hexdigest()
If you have the
digest
pacakge installed, you can do(by default the result is returned as ASCII hex values). See the
?digest
help page for a list of supported hashing algorithms.You might want to have a look at the
digest
package.