From f5427a21fdcaebe6144e02c1771609595fa07e7a Mon Sep 17 00:00:00 2001
From: Hans Bolinder
Thanks to Simon Cornish
- Own Id: OTP-12760 Aux Id: pull req
- 715
@@ -384,13 +384,13 @@
- Made Codenomicon Defensics test suite pass:
+ Made Codenomicon Defensics test suite pass:
Own Id: OTP-12784
Example of writing and then reading a tar file follows:
-
+
{ok,HandleWrite} = ssh_sftp:open_tar(ChannelPid, ?tar_file_name, [write]),
ok = erl_tar:add(HandleWrite, .... ),
ok = erl_tar:add(HandleWrite, .... ),
@@ -249,7 +249,7 @@
The previous write and read example can be extended with encryption and decryption as follows:
-
+
%% First three parameters depending on which crypto type we select:
Key = <<"This is a 256 bit key. abcdefghi">>,
Ivec0 = crypto:rand_bytes(16),
--
cgit v1.2.3