# GetSalt Method Generates a random byte array that can act as a salt. ## Definition **Namespace:** CapyKit.Helpers **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# public static byte[] GetSalt( int length = 32 ) ``` **F#** ``` F# static member GetSalt : ?length : int (* Defaults: let _length = defaultArg length 32 *) -> byte[] ``` #### Parameters