示例#1
0
 public SwitchCipherDecryptTranform(int totalPairsCount, KeyedHashAlgorithm oMAC, IAONT oAONT, IRandomSwap oRandOrd)
 {
     moMAC             = oMAC;
     moAONT            = oAONT;
     moRandOrd         = oRandOrd;
     miTotalPairsCount = totalPairsCount;
 }
示例#2
0
 public SwitchOAEP(KeyedHashAlgorithm oMAC, IAONT oAONT, IRandomSwap oRandOrd)
 {
     moMAC           = oMAC;
     moAONT          = oAONT;
     moAONT.seedSize = miTotalPairsCount / 8;   // The seed size needn't be longer than the complexity due to swapping parts
     moRandOrd       = oRandOrd;
 }