initialize -package:GLUT

Initialize a new ChaCha context with the number of rounds, the key and the nonce associated.
Initialize a new ChaChaPoly1305 State The key length need to be 256 bits, and the nonce procured using either nonce8 or nonce12
RC4 context initialization. seed the context with an initial key. the key size need to be adequate otherwise security takes a hit.
Initialize a new Salsa context with the number of rounds, the key and the nonce associated.
Initialize a new XSalsa context with the number of rounds, the key and the nonce associated.
Initialize a new incremental HMAC context
Initialize a new incremental KMAC context with the supplied customization string and key.
initialize a Poly1305 context
Create a generator for variates using the given seed, of which up to 256 elements will be used. For arrays of less than 256 elements, part of the default seed will be used to finish initializing the generator's state. Examples:
initialize (singleton 42)
initialize (fromList [4, 8, 15, 16, 23, 42])
If a seed contains fewer than 256 elements, it is first used verbatim, then its elements are xored against elements of the default seed until 256 elements are reached. If a seed contains exactly 258 elements, then the last two elements are used to set the generator's initial state. This allows for complete generator reproducibility, so that e.g. gen' == gen in the following example:
gen' <- initialize . fromSeed =<< save
In the MWC algorithm, the carry value must be strictly smaller than the multiplicator (see https://en.wikipedia.org/wiki/Multiply-with-carry). Hence, if a seed contains exactly 258 elements, the carry value, which is the last of the 258 values, is moduloed by the multiplicator. Note that if the first carry value is strictly smaller than the multiplicator, all subsequent carry values are also strictly smaller than the multiplicator (a proof of this is in the comments of the code of uniformWord32), hence when restoring a saved state, we have the guarantee that moduloing the saved carry won't modify its value.
Initialize a new incremental keyed Blake2 context with the supplied key.
Initializes SDL and the given subsystems. Do not call any SDL functions prior to this one, unless otherwise documented that you may do so. You may call this function again with additional subsystems to initialize. Throws SDLException if initialization fails.
Initialise a curl instance
Initialize mutable array to some default value.
Initializes SDL2_image by loading support for the chosen image formats. Explicit initialization is optional. You should call this function if you prefer to load image support yourself, at a time when your process isn't as busy. Otherwise, image support will be loaded dynamically when you attempt to load a JPG, PNG, TIF or WEBP-formatted file. You may call this function multiple times.
Initializes the library. Unless noted otherwise, this must be called before any other part of the library is used. You may call this multiple times.
Creating timeout manager which works every N micro seconds where N is the first argument.
Initialize the library by loading support for a certain set of sample/music formats. Note that calling this is not strictly necessary: support for a certain format will be loaded automatically when attempting to load data in that format. Using initialize allows you to decide when to load support. You may call this function multiple times.
Initializes a Metrics value, creating a new Store for it.
  • Since v0.1.0.0