Closed Andreas-Bio closed 6 years ago
You should steam-hash from a connection object like this:
path <- system.file("DESCRIPTION", package = 'openssl')
con <- file(path)
openssl::sha1(con)
If your data is already an in-memory raw vector you can wrap it in rawConnection()
. If this didn't solve your problem please provide more details (code).
Can anything be done about:
Error in rawhash(x, algo, key) : long vectors not supported yet: ../../src/include/Rinlinedfuns.h:138
?