C# Class Gurux.DLMS.Internal.GXAes128

Exibir arquivo Open project: Gurux/Gurux.DLMS.Net

Public Methods

Method Description
Decrypt ( byte state, byte key ) : void
Encrypt ( byte challenge, byte secret ) : void

Private Methods

Method Description
aes_decr ( byte state, byte expandedKey ) : void
aes_encr ( byte state, byte expandedKey ) : void
expandKey ( byte expandedKey, byte key ) : void
galois_mul2 ( int value ) : byte

Method Details

Decrypt() public static method

public static Decrypt ( byte state, byte key ) : void
state byte
key byte
return void

Encrypt() public static method

public static Encrypt ( byte challenge, byte secret ) : void
challenge byte
secret byte
return void