Package portage :: Package util :: Module whirlpool
[hide private]

Module whirlpool

source code

Classes [hide private]
  Whirlpool
Return a new Whirlpool object.
  WhirlpoolStruct
Functions [hide private]
list of integers
xrange(stop)
range(start, stop[, step]) -> list of integers
 
new(init=None)
Return a new Whirlpool object.
source code
 
WhirlpoolInit(ctx) source code
 
WhirlpoolAdd(source, sourceBits, ctx) source code
 
WhirlpoolFinalize(ctx) source code
 
CDo(buf, a0, a1, a2, a3, a4, a5, a6, a7) source code
 
processBuffer(ctx) source code
Variables [hide private]
  digest_size = 64
  digestsize = 64
  R = 10
  C0 = [1736243315775910104, 2532021497559467558, 14323205786664...
  C1 = [15571222512644683824, 2748079282416103238, 1331454732558...
  C2 = [3519589601760559224, 5054766267351893423, 10500361085990...
  C3 = [8660659681433229504, 12629824137369232133, 1798335795093...
  C4 = [13868888757162762264, 409623220726238243, 91495043407747...
  C5 = [1783557603617937504, 2523615882033439628, 14303143870840...
  C6 = [6924496049530214424, 10097921039849104163, 4595500080134...
  C7 = [1756431069603747864, 2561460795389388323, 14285354791697...
  rc = [0, 1739452583106838863, 3938066875928252754, 69706173601...
  DIGESTBYTES = 64
  __package__ = 'portage.util'

Imports: sys


Function Details [hide private]

xrange(stop)

 

range(start, stop[, step]) -> list of integers

Return a list containing an arithmetic progression of integers. range(i, j) returns [i, i+1, i+2, ..., j-1]; start (!) defaults to 0. When step is given, it specifies the increment (or decrement). For example, range(4) returns [0, 1, 2, 3]. The end point is omitted! These are exactly the valid indices for a list of 4 elements.

Returns: list of integers

new(init=None)

source code 

Return a new Whirlpool object. An optional string argument may be provided; if present, this string will be automatically hashed.


Variables Details [hide private]

C0

Value:
[1736243315775910104,
 2532021497559467558,
 14323205786664800696,
 16782813442224410107,
 9765816679524275147,
 13310629185344138513,
 72343471490662921,
 5714823076457127437,
...

C1

Value:
[15571222512644683824,
 2748079282416103238,
 13314547325582899601,
 18152013968528601037,
 14665839311103762707,
 1276973743900025453,
 648800938026861826,
 959072250135473822,
...

C2

Value:
[3519589601760559224,
 5054766267351893423,
 10500361085990108921,
 14842713082339791727,
 1426382721529629857,
 7859265928821254498,
 146649566740023301,
 11388846233969705582,
...

C3

Value:
[8660659681433229504,
 12629824137369232133,
 17983357950936204926,
 8056372286187890707,
 11606844447612372812,
 7092344473251395753,
 360860820059717896,
 7970823024773517122,
...

C4

Value:
[13868888757162762264,
 409623220726238243,
 9149504340774764486,
 1400564490963552232,
 5521716383006008967,
 12205437863008459448,
 577870364881781761,
 4786937233943765327,
...

C5

Value:
[1783557603617937504,
 2523615882033439628,
 14303143870840882751,
 16722832771842107527,
 9749344399741388582,
 13306274794631117018,
 74314900150747396,
 5711248902566399777,
...

C6

Value:
[6924496049530214424,
 10097921039849104163,
 4595500080134932166,
 9793098760635279592,
 2776271950002751367,
 15760533136184817848,
 288520668730425601,
 2400210169277271887,
...

C7

Value:
[1756431069603747864,
 2561460795389388323,
 14285354791697758406,
 16755616108833012712,
 9738620007424969607,
 13320161885541962168,
 73184627900156161,
 5701925749970046287,
...

rc

Value:
[0,
 1739452583106838863,
 3938066875928252754,
 6970617360185850677,
 2152957850883456599,
 1546766456395418330,
 6397689871562992517,
 13645081089570375015,
...