C# Class hds.MarginEncryption

Mostra file Open project: hdneo/mxo-hd Class Usage Examples

Public Methods

Method Description
MarginEncryption ( ) : System
decryptMargin ( byte packet ) : byte[]
encrypt ( byte packet ) : byte[]
encryptUsersPublic ( byte plain ) : byte[]
getIV ( ) : byte[]
getTFKey ( ) : byte[]
setUserPubKey ( byte exponent, byte modulus ) : void

Method Details

MarginEncryption() public method

public MarginEncryption ( ) : System
return System

decryptMargin() public method

public decryptMargin ( byte packet ) : byte[]
packet byte
return byte[]

encrypt() public method

public encrypt ( byte packet ) : byte[]
packet byte
return byte[]

encryptUsersPublic() public method

public encryptUsersPublic ( byte plain ) : byte[]
plain byte
return byte[]

getIV() public method

public getIV ( ) : byte[]
return byte[]

getTFKey() public method

public getTFKey ( ) : byte[]
return byte[]

setUserPubKey() public method

public setUserPubKey ( byte exponent, byte modulus ) : void
exponent byte
modulus byte
return void