Appendix B. Contents of SecurityLibrary.vb

This appendix shows you how to use the contents of SecurityLibrary.vb and RoleBasedSecurity.vb, the library of functions you built in the early chapters of this book.

Hash Digests

The following code creates a SHA-1 hash of the string strSource, and it assigns the result to the string strMyHash:

strMyHash = Hash.CreateHash(strSource)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.245.140