Generate PasswordSalt 128

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to execute the procedure aspnet_Membership_CreateUser but I don't
know how to generate the parameter PasswordSalt nvarchar(128).

Thanks
 
Hello, Juan!

To generate random value you can use RNGCryptoServiceProvider class from
..NET BCL.
This class returns binary data (byte[]), which can be converted to base64 or
simple hex

--
With best regards, Vadym Stetsiak.
Blog: http://vadmyst.blogspot.com


You wrote on Wed, 10 Oct 2007 16:47:00 -0700:

JP> I'm trying to execute the procedure aspnet_Membership_CreateUser but
JP> I don't know how to generate the parameter PasswordSalt
JP> nvarchar(128).

JP> Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top