The following tables list the members exposed by Salt.
Name | Description | |
---|---|---|
Salt Constructor | Overloaded. |
Name | Description | |
---|---|---|
DefaultSize | The size of the salt if unspecified |
Name | Description | |
---|---|---|
BitSize | Returns the size of the salt in bits | |
Length | returns the total length of the salt in bytes |
Name | Description | |
---|---|---|
CopyTo | Copy the salt to the specified offset in the byte array | |
CreateBytes | Overloaded. Creates n bytes of data usable as a salt | |
Equals | Overloaded. Overridden. Returns true if the two Salts are using the same data | |
FromBytes | Creates salt from the provided bytes or a hash of the bytes | |
FromString | Recreates a salt value from a string | |
GetData | Overloaded. Returns the salt combined with a copy of the speicified data | |
ToArray | Returns the salt as an array of bytes | |
ToStream | Returns the salt as a stream | |
ToString | Returns the base64 encoding of the salt |
Reference
Salt ClassCSharpTest.Net.Crypto Namespace
LocalHostKey LocalHostKey.WithSalt(Salt)
AESCryptoKey PasswordKey.CreateKey(Salt)
AESCryptoKey PasswordKey.CreateKey(Salt,Byte[])
Salt PasswordKey.Salt
PasswordHash Password.CreateHash(Salt)
Salt PasswordHash.Salt
Stream SaltedData.CombineStream(Salt,Stream)
Salt SaltedData.Salt