|
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.
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)
|