2024-08-27 18:54:36 -05:00
|
|
|
|
# GenerateSalt Method
|
|
|
|
|
|
|
|
|
|
|
2024-09-04 19:31:43 -05:00
|
|
|
|
\[Missing <summary> documentation for "M:Tests.PasswordTests.GenerateSalt(System.Int32)"\]
|
2024-08-27 18:54:36 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Definition
|
|
|
|
|
**Namespace:** <a href="N_Tests.md">Tests</a>
|
|
|
|
|
**Assembly:** Tests (in Tests.exe) Version: 1.0.0
|
|
|
|
|
|
|
|
|
|
**C#**
|
|
|
|
|
``` C#
|
|
|
|
|
private static byte[] GenerateSalt(
|
|
|
|
|
int size = 16
|
|
|
|
|
)
|
|
|
|
|
```
|
|
|
|
|
**F#**
|
|
|
|
|
``` F#
|
|
|
|
|
private static member GenerateSalt :
|
|
|
|
|
?size : int
|
|
|
|
|
(* Defaults:
|
|
|
|
|
let _size = defaultArg size 16
|
|
|
|
|
*)
|
|
|
|
|
-> byte[]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
2024-09-04 19:31:43 -05:00
|
|
|
|
<dl><dt> <a href="https://learn.microsoft.com/dotnet/api/system.int32" target="_blank" rel="noopener noreferrer">Int32</a> (Optional)</dt><dd>\[Missing <param name="size"/> documentation for "M:Tests.PasswordTests.GenerateSalt(System.Int32)"\]</dd></dl>
|
2024-08-27 18:54:36 -05:00
|
|
|
|
|
|
|
|
|
#### Return Value
|
|
|
|
|
<a href="https://learn.microsoft.com/dotnet/api/system.byte" target="_blank" rel="noopener noreferrer">Byte</a>[]
|
2024-09-04 19:31:43 -05:00
|
|
|
|
\[Missing <returns> documentation for "M:Tests.PasswordTests.GenerateSalt(System.Int32)"\]
|
2024-08-27 18:54:36 -05:00
|
|
|
|
|
|
|
|
|
## See Also
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### Reference
|
2024-09-04 19:31:43 -05:00
|
|
|
|
<a href="T_Tests_PasswordTests.md">PasswordTests Class</a>
|
2024-08-27 18:54:36 -05:00
|
|
|
|
<a href="N_Tests.md">Tests Namespace</a>
|