You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your reply
One note: File.open('a.txt', 'w') do |output|
should be File.open('a.txt', 'w', encoding: 'ASCII-8BIT') do |output|
or it will throw if you use a binary file
Encoding::UndefinedConversionError: "\xAF" from ASCII-8BIT to UTF-8
What's the recommended way to encrypt or decrypt large binary files which are stored on the disk? I couldn't find an example in the documentation
The text was updated successfully, but these errors were encountered: