openGPMP
Open Source Mathematics Package
Public Member Functions | Properties | Static Private Attributes | List of all members
pygpmp.nt.nt.RC4 Class Reference
Inheritance diagram for pygpmp.nt.nt.RC4:

Public Member Functions

def byte_swap (self, a, b)
 
def trad_swap (self, a, b)
 
def XOR_swap (self, a, b)
 
def KSA (self, key, S, swap_type)
 
def PRGA (self, S, plaintext, ciphertext, swap_type)
 
def store_hash (self, plaintext, hashtext, swap_type)
 
def compute (self, key, plaintext, hashtext, swap_type)
 
def __init__ (self)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Static Private Attributes

 __repr__ = _swig_repr
 
 __swig_destroy__ = _nt.delete_RC4
 

Detailed Description

Definition at line 227 of file nt.py.

Constructor & Destructor Documentation

◆ __init__()

def pygpmp.nt.nt.RC4.__init__ (   self)

Definition at line 252 of file nt.py.

252  def __init__(self):
253  _nt.RC4_swiginit(self, _nt.new_RC4())

Member Function Documentation

◆ byte_swap()

def pygpmp.nt.nt.RC4.byte_swap (   self,
  a,
  b 
)

Definition at line 231 of file nt.py.

231  def byte_swap(self, a, b):
232  return _nt.RC4_byte_swap(self, a, b)
233 

◆ compute()

def pygpmp.nt.nt.RC4.compute (   self,
  key,
  plaintext,
  hashtext,
  swap_type 
)

Definition at line 249 of file nt.py.

249  def compute(self, key, plaintext, hashtext, swap_type):
250  return _nt.RC4_compute(self, key, plaintext, hashtext, swap_type)
251 

◆ KSA()

def pygpmp.nt.nt.RC4.KSA (   self,
  key,
  S,
  swap_type 
)

Definition at line 240 of file nt.py.

240  def KSA(self, key, S, swap_type):
241  return _nt.RC4_KSA(self, key, S, swap_type)
242 

◆ PRGA()

def pygpmp.nt.nt.RC4.PRGA (   self,
  S,
  plaintext,
  ciphertext,
  swap_type 
)

Definition at line 243 of file nt.py.

243  def PRGA(self, S, plaintext, ciphertext, swap_type):
244  return _nt.RC4_PRGA(self, S, plaintext, ciphertext, swap_type)
245 

◆ store_hash()

def pygpmp.nt.nt.RC4.store_hash (   self,
  plaintext,
  hashtext,
  swap_type 
)

Definition at line 246 of file nt.py.

246  def store_hash(self, plaintext, hashtext, swap_type):
247  return _nt.RC4_store_hash(self, plaintext, hashtext, swap_type)
248 

◆ trad_swap()

def pygpmp.nt.nt.RC4.trad_swap (   self,
  a,
  b 
)

Definition at line 234 of file nt.py.

234  def trad_swap(self, a, b):
235  return _nt.RC4_trad_swap(self, a, b)
236 

◆ XOR_swap()

def pygpmp.nt.nt.RC4.XOR_swap (   self,
  a,
  b 
)

Definition at line 237 of file nt.py.

237  def XOR_swap(self, a, b):
238  return _nt.RC4_XOR_swap(self, a, b)
239 

Member Data Documentation

◆ __repr__

pygpmp.nt.nt.RC4.__repr__ = _swig_repr
staticprivate

Definition at line 229 of file nt.py.

◆ __swig_destroy__

pygpmp.nt.nt.RC4.__swig_destroy__ = _nt.delete_RC4
staticprivate

Definition at line 254 of file nt.py.

Property Documentation

◆ thisown

pygpmp.nt.nt.RC4.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 228 of file nt.py.


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