Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

.net convert

$
0
0

Can anyone convert this to visual cobol .net.  I am having trouble with the byte array.

 

using (RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider())
{
      byte[] buff = new byte[Convert.ToInt16(saltsize)];
      rng.GetBytes(buff);
      return buff;
}

 

What i have thus far is

local-storage section.
01 buff type Byte[] occurs any.

perform using rng as type RNGCryptoServiceProvider = new RNGCryptoServiceProvider
       set buff to buff[type Convert::ToInt16(saltsize)]
end-perform


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>