Definition at line 9 of file BBMiBandDataEncryption.cs.
◆ EncryptData()
static void BBMiBandDataEncryptor.BBMiBandDataEncryption.EncryptData |
( |
string |
SensorData | ) |
|
|
static |
This method encrypts the sensor data
- Parameters
-
- Returns
Definition at line 26 of file BBMiBandDataEncryption.cs.
32 using (DESCryptoServiceProvider des =
new DESCryptoServiceProvider())
34 ms =
new MemoryStream();
37 cs.FlushFinalBlock();
static byte [] SensorIVByte
static byte [] inputByteArray
static void SaveSensorData()
Store encrypted sensor data
static byte [] SensorKeyByte
◆ SaveSensorData()
static void BBMiBandDataEncryptor.BBMiBandDataEncryption.SaveSensorData |
( |
| ) |
|
|
staticprivate |
◆ cs
CryptoStream BBMiBandDataEncryptor.BBMiBandDataEncryption.cs = null |
|
staticprivate |
◆ dataPath
readonly string BBMiBandDataEncryptor.BBMiBandDataEncryption.dataPath = @"BBPS\BBMibandData.xml" |
|
staticprivate |
◆ inputByteArray
byte [] BBMiBandDataEncryptor.BBMiBandDataEncryption.inputByteArray |
|
staticprivate |
◆ ms
MemoryStream BBMiBandDataEncryptor.BBMiBandDataEncryption.ms = null |
|
staticprivate |
◆ pSensor
string BBMiBandDataEncryptor.BBMiBandDataEncryption.pSensor = "" |
|
staticprivate |
◆ SensorIV
string BBMiBandDataEncryptor.BBMiBandDataEncryption.SensorIV = BBSensorDataEncrypDecrypKey.sIV() |
|
staticprivate |
◆ SensorIVByte
byte [] BBMiBandDataEncryptor.BBMiBandDataEncryption.SensorIVByte = { } |
|
staticprivate |
◆ SensorKey
string BBMiBandDataEncryptor.BBMiBandDataEncryption.SensorKey = BBSensorDataEncrypDecrypKey.sKey() |
|
staticprivate |
◆ SensorKeyByte
byte [] BBMiBandDataEncryptor.BBMiBandDataEncryption.SensorKeyByte = { } |
|
staticprivate |
The documentation for this class was generated from the following file: