Table of Contents

Class Blowfish

Namespace
ArcanaDevelopment.adTempus.Shared
Assembly
ArcanaDevelopment.adTempus.Shared.dll

Class that provides blowfish encryption.

public class Blowfish
Inheritance
object
Blowfish

Constructors

Blowfish(byte[])

Constructs and initializes a blowfish instance with the supplied key.

public Blowfish(byte[] key)

Parameters

NameTypeDescription
key byte[]

The key to cipher with.

Methods

Decipher(byte[], int)

Decrypts a byte array in place.

public void Decipher(byte[] data, int length)

Parameters

NameTypeDescription
data byte[]

The array to decrypt.

length int

The amount to decrypt.

Encipher(byte[], int)

Encrypts a byte array in place.

public void Encipher(byte[] data, int length)

Parameters

NameTypeDescription
data byte[]

The array to encrypt.

length int

The amount to encrypt.