Jura-Python-BT
Code for control and payment system of Jura Coffee Machine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
bt_encoder.BtEncoder Class Reference

Public Member Functions

def __init__ (self)
 
def hexStrToInt (self, hexStr)
 
def mod256 (self, i)
 
def shuffle (self, dataNibble, nibbleCount, keyLeftNibbel, keyRightNibbel)
 
def encDecBytes (self, data, key)
 
def bruteforce_key (self, data)
 

Public Attributes

 numbers1
 
 numbers2
 

Constructor & Destructor Documentation

◆ __init__()

def bt_encoder.BtEncoder.__init__ (   self)

Member Function Documentation

◆ bruteforce_key()

def bt_encoder.BtEncoder.bruteforce_key (   self,
  data 
)

◆ encDecBytes()

def bt_encoder.BtEncoder.encDecBytes (   self,
  data,
  key 
)

◆ hexStrToInt()

def bt_encoder.BtEncoder.hexStrToInt (   self,
  hexStr 
)
get a big hex string like "aa 00 aa 00 aa" and treat as little endian
return list of int    

◆ mod256()

def bt_encoder.BtEncoder.mod256 (   self,
  i 
)

◆ shuffle()

def bt_encoder.BtEncoder.shuffle (   self,
  dataNibble,
  nibbleCount,
  keyLeftNibbel,
  keyRightNibbel 
)

Member Data Documentation

◆ numbers1

bt_encoder.BtEncoder.numbers1

◆ numbers2

bt_encoder.BtEncoder.numbers2

The documentation for this class was generated from the following file: