|
static string | DecryptData (string SensorData) |
| This method decrypt the saved thermostat data More...
|
|
◆ DecryptData()
static string BBThermostatDataEncryptor.BBThermostatDataDecryption.DecryptData |
( |
string |
SensorData | ) |
|
|
static |
This method decrypt the saved thermostat data
- Parameters
-
- Returns
Definition at line 35 of file BBThermostatDataDecryption.cs.
41 inputByteArray = Convert.FromBase64String(SensorData.Replace(
" ",
"+"));
42 using (DESCryptoServiceProvider des =
new DESCryptoServiceProvider())
44 ms =
new MemoryStream();
47 cs.FlushFinalBlock();
48 Encoding encoding = Encoding.UTF8;
static byte [] SensorIVByte
static byte [] SensorKeyByte
static byte [] inputByteArray
◆ cs
CryptoStream BBThermostatDataEncryptor.BBThermostatDataDecryption.cs = null |
|
staticprivate |
◆ inputByteArray
byte [] BBThermostatDataEncryptor.BBThermostatDataDecryption.inputByteArray |
|
staticprivate |
◆ ms
MemoryStream BBThermostatDataEncryptor.BBThermostatDataDecryption.ms = null |
|
staticprivate |
◆ pSensor
string BBThermostatDataEncryptor.BBThermostatDataDecryption.pSensor = "" |
|
staticprivate |
◆ SensorIV
◆ SensorIVByte
byte [] BBThermostatDataEncryptor.BBThermostatDataDecryption.SensorIVByte = { } |
|
staticprivate |
◆ SensorKey
◆ SensorKeyByte
byte [] BBThermostatDataEncryptor.BBThermostatDataDecryption.SensorKeyByte = { } |
|
staticprivate |
The documentation for this class was generated from the following file: