Israel Ors' HuffmanAlgorithm Documentation

HuffmanAlgorithm.PasswordGen Method 

This function takes a password cstring and converts it to a ushort number that's fit the header of a shrinked file.

private ushort PasswordGen(
   char[] Password
);

Parameters

Password
Password to a shrinked file (8 chars tops), is it's null, no password will take place in the file (zero value).

Return Value

A numeric representation of the given password.

Exceptions

Exception Type Condition
Exception When a given password is longer then 8 characters.

See Also

HuffmanAlgorithm Class | JadBenAutho.Tools Namespace