Click or drag to resize
Galactic API

AES256 Class

Rijndael is a class that allows for the easy encryption and decryption of strings using the AES 256 encryption algorithm.
Inheritance Hierarchy
SystemObject
  Galactic.CryptographyAES256

Namespace:  Galactic.Cryptography
Assembly:  Galactic.Cryptography (in Galactic.Cryptography.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public class AES256

The AES256 type exposes the following members.

Constructors
  NameDescription
Public methodAES256
Initializes a new instance of the AES256 class
Top
Methods
  NameDescription
Public methodStatic memberBytesToString
Generates a string representation of an array of bytes.
Public methodStatic memberCreateConsolidatedString
Encrypts a string of text with AES 256, and concatenates the key and initialization vector to the beginning of the string, and the length of the key and initialization vector to the end of the string. This is useful in scenarios where it is not feasible to store the key and initialization vector seperately, though not as secure.
Public methodStatic memberDecryptConsolidatedString
Decrypts a consolidated string containing and AES 256 encrypted string, and properties of the key and initializiation vector used to encrypt/decrypt the string.
Public methodStatic memberDecryptStringFromBytes
Decrypts an array of AES 256 encrypted bytes to a plain text string.
Public methodStatic memberEncryptStringToBytes
Encrypts a string of text to an array of AES 256 encrypted bytes.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGenerateIV
Generates a random initialization vector for use by the encryption algorithm.
Public methodStatic memberGenerateKey
Generates a random key for use by the encryption algorithm.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberStringToBytes
Generates a byte representation of a string generated by BytesToString().
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also