The BlowfishECB type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | BlowfishECB()()()() | Zero constructor, properly initializes an instance. Initialize afterwards
to set up a valid key! |
![]() | BlowfishECB(array<Byte>[]()[][], Int32, Int32) | Initializes a new instance of the BlowfishECB class |
Methods
Name | Description | |
---|---|---|
![]() | Clone | |
![]() | Decrypt | Decrypts single bytes. |
![]() | DecryptBlock | Decrypts a single block. |
![]() | Encrypt | Encrypts byte buffers. |
![]() | EncryptBlock | Encrypts a single block. |
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialize | Resets the instance with new or initial key material. Allows the switch of
keys at runtime without any new internal object allocation. |
![]() | Invalidate | Deletes all internal data structures and invalidates this instance. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | RunSelfTest | To execute a selftest. |
![]() | ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() | block | Single block cache. |
![]() ![]() | BLOCK_SIZE | The block size in bytes. |
![]() | isWeakKey | 1 if a weak key was detected, 0 if not and -1 if it hasn't
been determined yet. |
![]() ![]() | MAX_KEY_LENGTH | The maximum and recommended key size in bytes. |
![]() | pbox | Runtime p-box. |
![]() ![]() | PBOX_INIT | The P-box initialization data. |
![]() ![]() | SBOX_INIT_1 | The first S-box initialization data. |
![]() ![]() | SBOX_INIT_2 | The second S-box initialization data. |
![]() ![]() | SBOX_INIT_3 | The third S-box initialization data. |
![]() ![]() | SBOX_INIT_4 | The fourth S-box initialization data. |
![]() | sbox1 | Runtime s-box #1. |
![]() | sbox2 | Runtime s-box #2. |
![]() | sbox3 | Runtime s-box #3. |
![]() | sbox4 | Runtime s-box #4. |
Properties
Name | Description | |
---|---|---|
![]() | IsWeakKey | To check if the key used is weak. |